Retrieve an instance of the mapped class from a IDataReader. Implementors
should handle possibility of null values.
Namespace:
NHibernate.UserTypesAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function NullSafeGet ( _ dr As IDataReader, _ names As String(), _ session As ISessionImplementor, _ owner As Object _ ) As Object |
C# |
---|
Object NullSafeGet( IDataReader dr, string[] names, ISessionImplementor session, Object owner ) |
Visual C++ |
---|
Object^ NullSafeGet( IDataReader^ dr, array<String^>^ names, ISessionImplementor^ session, Object^ owner ) |
JavaScript |
---|
function nullSafeGet(dr, names, session, owner); |
Parameters
- dr
- Type: System.Data..::.IDataReader
IDataReader
- names
- Type: array<
System..::.String
>[]()[]
the column names
- session
- Type: NHibernate.Engine..::.ISessionImplementor
- owner
- Type: System..::.Object
the containing entity