Loads an object from the current record of an IDataReader object.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected IDatabaseObject ObjectFromDataReader(
	IDataReader objReader
)
Visual Basic
Protected Function ObjectFromDataReader ( _
	objReader As IDataReader _
) As IDatabaseObject
Visual C++
protected:
IDatabaseObject^ ObjectFromDataReader(
	IDataReader^ objReader
)

Parameters

objReader
Type: System.Data..::..IDataReader
The data to be copied into a new DatabaseObject object.

Return Value

IDatabaseObject (DatabaseObjects.IDatabaseObject)

See Also