Creates a collection load context for the given result set.

Namespace: NHibernate.Engine.Loading
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public CollectionLoadContext(
	LoadContexts loadContexts,
	IDataReader resultSet
)
Visual Basic
Public Sub New ( _
	loadContexts As LoadContexts, _
	resultSet As IDataReader _
)
Visual C++
public:
CollectionLoadContext(
	LoadContexts^ loadContexts, 
	IDataReader^ resultSet
)

Parameters

loadContexts
Type: NHibernate.Engine.Loading..::..LoadContexts
Callback to other collection load contexts.
resultSet
Type: System.Data..::..IDataReader
The result set this is "wrapping".

See Also