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: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public static void ObjectLoad(
	IDatabaseObjects objCollection,
	IDatabaseObject objItem,
	SQLFieldValues objFieldValues
)
Visual Basic
Public Shared Sub ObjectLoad ( _
	objCollection As IDatabaseObjects, _
	objItem As IDatabaseObject, _
	objFieldValues As SQLFieldValues _
)
Visual C++
public:
static void ObjectLoad(
	IDatabaseObjects^ objCollection, 
	IDatabaseObject^ objItem, 
	SQLFieldValues^ objFieldValues
)

Parameters

objCollection
Type: DatabaseObjects..::..IDatabaseObjects
The collection associated with the field values. This is not used to create an object - but to set the distinct field for the object using the IDatabaseObjects.DistinctFieldName property.
objItem
Type: DatabaseObjects..::..IDatabaseObject

[Missing <param name="objItem"/> documentation for "M:DatabaseObjects.Database.ObjectLoad(DatabaseObjects.IDatabaseObjects,DatabaseObjects.IDatabaseObject,DatabaseObjects.SQL.SQLFieldValues)"]

objFieldValues
Type: DatabaseObjects.SQL..::..SQLFieldValues
The data container that contains the data to be copied into the object.

See Also