Initializes an existing object with values from a set of database fields.
 Specifically, sets the IDatbaseObject.IsSaved property to true, 
 sets the IDatbaseObject.DistinctValue using the provided data and 
 calls IDatbaseObject.LoadFields().
 
        
        Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
| C# | 
|---|
public static void ObjectLoad( DatabaseObject objItem, IDataReader objData )  | 
| Visual Basic | 
|---|
Public Shared Sub ObjectLoad ( _ objItem As DatabaseObject, _ objData As IDataReader _ )  | 
| Visual C++ | 
|---|
public: static void ObjectLoad( DatabaseObject^ objItem, IDataReader^ objData )  | 
Parameters
- objItem
 - Type: DatabaseObjects..::..DatabaseObject
The object into which the data should be copied into. 
- objData
 - Type: System.Data..::..IDataReader
The data container that contains the data to be copied into the object.