Loads an object from the current record of an IDataReader object.
Namespace: DatabaseObjects.GenericAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
protected T ObjectFromDataReader( IDataReader objReader ) |
Visual Basic |
---|
Protected Function ObjectFromDataReader ( _ objReader As IDataReader _ ) As T |
Visual C++ |
---|
protected: T ObjectFromDataReader( IDataReader^ objReader ) |
Parameters
- objReader
- Type: System.Data..::..IDataReader
The data to be copied into a new DatabaseObject object.