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