Reads the Element from the IDataReader. The IDataReader will probably only contain the id of the Element.

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

Syntax

C#
public Object ReadElement(
	IDataReader rs,
	Object owner,
	string[] aliases,
	ISessionImplementor session
)
Visual Basic
Public Function ReadElement ( _
	rs As IDataReader, _
	owner As Object, _
	aliases As String(), _
	session As ISessionImplementor _
) As Object
Visual C++
public:
virtual Object^ ReadElement(
	IDataReader^ rs, 
	Object^ owner, 
	array<String^>^ aliases, 
	ISessionImplementor^ session
) sealed

Parameters

rs
Type: System.Data..::..IDataReader

[Missing <param name="rs"/> documentation for "M:NHibernate.Persister.Collection.AbstractCollectionPersister.ReadElement(System.Data.IDataReader,System.Object,System.String[],NHibernate.Engine.ISessionImplementor)"]

owner
Type: System..::..Object

[Missing <param name="owner"/> documentation for "M:NHibernate.Persister.Collection.AbstractCollectionPersister.ReadElement(System.Data.IDataReader,System.Object,System.String[],NHibernate.Engine.ISessionImplementor)"]

aliases
Type: array<System..::..String>[]()[][]

[Missing <param name="aliases"/> documentation for "M:NHibernate.Persister.Collection.AbstractCollectionPersister.ReadElement(System.Data.IDataReader,System.Object,System.String[],NHibernate.Engine.ISessionImplementor)"]

session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.Persister.Collection.AbstractCollectionPersister.ReadElement(System.Data.IDataReader,System.Object,System.String[],NHibernate.Engine.ISessionImplementor)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Persister.Collection.AbstractCollectionPersister.ReadElement(System.Data.IDataReader,System.Object,System.String[],NHibernate.Engine.ISessionImplementor)"]

Implements

ICollectionPersister..::..ReadElement(IDataReader, Object, array<String>[]()[][], ISessionImplementor)

Remarks

See ReadElementIdentifier for an explanation of why this method will be depreciated.

See Also