When implemented by a class, gets an instance of the object mapped by
this IType from the IDataReader.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object NullSafeGet( IDataReader rs, string[] names, ISessionImplementor session, Object owner ) |
Visual Basic |
---|
Function NullSafeGet ( _ rs As IDataReader, _ names As String(), _ session As ISessionImplementor, _ owner As Object _ ) As Object |
Visual C++ |
---|
Object^ NullSafeGet( IDataReader^ rs, array<String^>^ names, ISessionImplementor^ session, Object^ owner ) |
Parameters
- rs
- Type: System.Data..::..IDataReader
The IDataReader that contains the values
- names
- Type: array<System..::..String>[]()[][]
The names of the columns in the IDataReader that contain the value to populate the IType with.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
[Missing <param name="session"/> documentation for "M:NHibernate.Type.IType.NullSafeGet(System.Data.IDataReader,System.String[],NHibernate.Engine.ISessionImplementor,System.Object)"]
- owner
- Type: System..::..Object
[Missing <param name="owner"/> documentation for "M:NHibernate.Type.IType.NullSafeGet(System.Data.IDataReader,System.String[],NHibernate.Engine.ISessionImplementor,System.Object)"]
Return Value
The object mapped by this IType.Remarks
Implementors should handle possibility of null values.