Hydrates the Identifier from IDataReader.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override Object Hydrate( IDataReader rs, string[] names, ISessionImplementor session, Object owner ) |
Visual Basic |
---|
Public Overrides Function Hydrate ( _ rs As IDataReader, _ names As String(), _ session As ISessionImplementor, _ owner As Object _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Hydrate( IDataReader^ rs, array<String^>^ names, ISessionImplementor^ session, Object^ owner ) override |
Parameters
- rs
- Type: System.Data..::..IDataReader
The IDataReader that contains the query results.
- names
- Type: array<System..::..String>[]()[][]
A string array of column names to read from.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor this is occurring in.
- owner
- Type: System..::..Object
The object that this Entity will be a part of.
Return Value
An instantiated object that used as the identifier of the type.Implements
IType..::..Hydrate(IDataReader, array<String>[]()[][], ISessionImplementor, Object)IType..::..Hydrate(IDataReader, array<String>[]()[][], ISessionImplementor, Object)