Converts the id contained in the IDataReader to an object.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides NotOverridable Function NullSafeGet ( _ rs As IDataReader, _ names As String(), _ session As ISessionImplementor, _ owner As Object _ ) As Object |
C# |
---|
public override sealed Object NullSafeGet( IDataReader rs, string[] names, ISessionImplementor session, Object owner ) |
Visual C++ |
---|
public: virtual Object^ NullSafeGet( IDataReader^ rs, array<String^>^ names, ISessionImplementor^ session, Object^ owner ) override sealed |
JavaScript |
---|
function nullSafeGet(rs, names, session, owner); |
Parameters
- rs
- Type: System.Data..::.IDataReader
The IDataReader that contains the query results.
- names
- Type: array<
System..::.String
>[]()[]
A string array of column names that contain the id.
- 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 instance of the object or nullNothingnullptra null reference (Nothing in Visual Basic) if the identifer was null.Implements
IType..::.NullSafeGet(IDataReader, array<String>[]()[], ISessionImplementor, Object)IType..::.NullSafeGet(IDataReader, array<String>[]()[], ISessionImplementor, Object)