Extracts the values of the fields from the DataReader

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

Syntax

C#
public virtual Object NullSafeGet(
	IDataReader rs,
	string[] names
)
Visual Basic
Public Overridable Function NullSafeGet ( _
	rs As IDataReader, _
	names As String() _
) As Object
Visual C++
public:
virtual Object^ NullSafeGet(
	IDataReader^ rs, 
	array<String^>^ names
)

Parameters

rs
Type: System.Data..::..IDataReader
The DataReader positioned on the correct record
names
Type: array<System..::..String>[]()[][]
An array of field names.

Return Value

The value off the field from the DataReader

Remarks

In this class this just ends up passing the first name to the NullSafeGet method that takes a string, not a string[]. I don't know why this method is in here - it doesn't look like anybody that inherits from NullableType overrides this... TODO: determine if this is needed

See Also