Loads this object with the object's fields and properties with the fields from the database. Automatically sets the IDatabaseObject.DistinctValue and IDatabaseObject.IsSaved properties so that the object is correctly initialized. Onforwards a call to Database.ObjectLoad()

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected void Load(
	SQLFieldValues objFields
)
Visual Basic
Protected Sub Load ( _
	objFields As SQLFieldValues _
)
Visual C++
protected:
void Load(
	SQLFieldValues^ objFields
)

Parameters

objFields
Type: DatabaseObjects.SQL..::..SQLFieldValues

[Missing <param name="objFields"/> documentation for "M:DatabaseObjects.DatabaseObject.Load(DatabaseObjects.SQL.SQLFieldValues)"]

Remarks

Typically used from within the overridden LoadFields function when completely loading and initializing an IDatabaseObject object from the database fields. This is different to LoadFieldsForObject in that the IDatabaseObject.DistinctValue and IDatabaseObject.IsSaved properties are not initialized. Furthermore the object typically does not implement IDatabaseObject and therefore these properties cannot be set. Onforwards a call to Database.ObjectLoad()

See Also