Initializes the SafeDataReader object to use data from the provided DataReader object.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public SafeDataReader(
	IDataReader dataReader
)
Visual Basic
Public Sub New ( 
	dataReader As IDataReader
)

Parameters

dataReader
Type: System.Data..::..IDataReader
The source DataReader object containing the data.

See Also