Gets the Type in the IDataReader for the Property.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override Object Get( IDataReader rs, int index ) |
Visual Basic |
---|
Public Overrides Function Get ( _ rs As IDataReader, _ index As Integer _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Get( IDataReader^ rs, int index ) override |
Parameters
- rs
- Type: System.Data..::..IDataReader
The IDataReader that contains the value.
- index
- Type: System..::..Int32
The index of the field to get the value from.
Return Value
The Type from the database.Exceptions
Exception | Condition |
---|---|
System..::..TypeLoadException | Thrown when the value in the database can not be loaded as a Type |