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, SQLFieldValues objFieldValues ) |
Visual Basic |
---|
Public Shared Sub ObjectLoad ( _ objItem As DatabaseObject, _ objFieldValues As SQLFieldValues _ ) |
Visual C++ |
---|
public: static void ObjectLoad( DatabaseObject^ objItem, SQLFieldValues^ objFieldValues ) |
Parameters
- objItem
- Type: DatabaseObjects..::..DatabaseObject
The object into which the data should be copied into.
- objFieldValues
- Type: DatabaseObjects.SQL..::..SQLFieldValues
The data container that contains the data to be copied into the object.