Retrieve an instance of the mapped class from a JDBC resultset.
Implementors should handle possibility of null values.
Namespace: NHibernate.UserTypes
Assembly: NHibernate (in NHibernate)
Version: 1.2.0.4000
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 ) |
Parameters
- rs
- System.Data.IDataReader
a IDataReader
- names
- System.String[]
column names
- owner
- System.Object
the containing entity
Return Value
Exceptions
| Exception | Condition |
|---|---|
| NHibernate.HibernateException | HibernateException |