Initializes a new instance of the NHybridDataReader class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	reader As IDataReader, _
	inMemory As Boolean _
)
C#
public NHybridDataReader(
	IDataReader reader,
	bool inMemory
)
Visual C++
public:
NHybridDataReader(
	IDataReader^ reader, 
	bool inMemory
)
JavaScript
NHibernate.Driver.NHybridDataReader = function(reader, 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