Creates and initializes an object from the current record of an IDataReader object.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public static IDatabaseObject ObjectFromDataReader( IDatabaseObjects objCollection, IDataReader objReader ) |
Visual Basic |
---|
Public Shared Function ObjectFromDataReader ( _ objCollection As IDatabaseObjects, _ objReader As IDataReader _ ) As IDatabaseObject |
Visual C++ |
---|
public: static IDatabaseObject^ ObjectFromDataReader( IDatabaseObjects^ objCollection, IDataReader^ objReader ) |
Parameters
- objCollection
- Type: DatabaseObjects..::..IDatabaseObjects
The collection associated with the IDataReader object.
- objReader
- Type: System.Data..::..IDataReader
The data to be copied into a new IDatabaseObject object.