Initializes a new instance of the NHybridDataReader class.

Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public NHybridDataReader(
	IDataReader reader,
	bool inMemory
)
Visual Basic
Public Sub New ( _
	reader As IDataReader, _
	inMemory As Boolean _
)
Visual C++
public:
NHybridDataReader(
	IDataReader^ reader, 
	bool inMemory
)

Parameters

reader
Type: System.Data..::..IDataReader
The underlying IDataReader to use.
inMemory
Type: System..::..Boolean
trueTruetruetrue (True in Visual Basic) if the contents of the IDataReader should be read into memory right away.

See Also