Retrieve an instance of the mapped class from a IDataReader. Implementors should handle possibility of null values.

Namespace: NHibernate.UserTypes
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Object NullSafeGet(
	IDataReader dr,
	string[] names,
	ISessionImplementor session,
	Object owner
)
Visual Basic
Function NullSafeGet ( _
	dr As IDataReader, _
	names As String(), _
	session As ISessionImplementor, _
	owner As Object _
) As Object
Visual C++
Object^ NullSafeGet(
	IDataReader^ dr, 
	array<String^>^ names, 
	ISessionImplementor^ session, 
	Object^ owner
)

Parameters

dr
Type: System.Data..::..IDataReader
IDataReader
names
Type: array<System..::..String>[]()[][]
the column names
session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.UserTypes.ICompositeUserType.NullSafeGet(System.Data.IDataReader,System.String[],NHibernate.Engine.ISessionImplementor,System.Object)"]

owner
Type: System..::..Object
the containing entity

Return Value

[Missing <returns> documentation for "M:NHibernate.UserTypes.ICompositeUserType.NullSafeGet(System.Data.IDataReader,System.String[],NHibernate.Engine.ISessionImplementor,System.Object)"]

See Also