Reads the row from the IDataReader.

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

Syntax

C#
public abstract Object ReadFrom(
	IDataReader reader,
	ICollectionPersister role,
	ICollectionAliases descriptor,
	Object owner
)
Visual Basic
Public MustOverride Function ReadFrom ( _
	reader As IDataReader, _
	role As ICollectionPersister, _
	descriptor As ICollectionAliases, _
	owner As Object _
) As Object
Visual C++
public:
virtual Object^ ReadFrom(
	IDataReader^ reader, 
	ICollectionPersister^ role, 
	ICollectionAliases^ descriptor, 
	Object^ owner
) abstract

Parameters

reader
Type: System.Data..::..IDataReader
The IDataReader that contains the value of the Identifier
role
Type: NHibernate.Persister.Collection..::..ICollectionPersister
The persister for this Collection.
descriptor
Type: NHibernate.Loader..::..ICollectionAliases
The descriptor providing result set column names
owner
Type: System..::..Object
The owner of this Collection.

Return Value

The object that was contained in the row.

Implements

IPersistentCollection..::..ReadFrom(IDataReader, ICollectionPersister, ICollectionAliases, Object)

See Also