Gets the Type in the IDataReader for the Property.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Function Get ( _ rs As IDataReader, _ index As Integer _ ) As Object |
C# |
---|
public override Object Get( IDataReader rs, int index ) |
Visual C++ |
---|
public: virtual Object^ Get( IDataReader^ rs, int index ) override |
JavaScript |
---|
function get(rs, index); |
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 |