Creates and initializes an object from the values contained in an SQLFieldValues object. This function is generally used from within an IDatabaseObject.Load function when the IDatabaseObjects.TableJoins function has been implemented.

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

Syntax

C#
public static IDatabaseObject ObjectFromFieldValues(
	IDatabaseObjects objCollection,
	SQLFieldValues objFieldValues
)
Visual Basic
Public Shared Function ObjectFromFieldValues ( _
	objCollection As IDatabaseObjects, _
	objFieldValues As SQLFieldValues _
) As IDatabaseObject
Visual C++
public:
static IDatabaseObject^ ObjectFromFieldValues(
	IDatabaseObjects^ objCollection, 
	SQLFieldValues^ objFieldValues
)

Parameters

objCollection
Type: DatabaseObjects..::..IDatabaseObjects
The collection associated with the field values.
objFieldValues
Type: DatabaseObjects.SQL..::..SQLFieldValues
The data container from which to load a new object.

Return Value

IDatabaseObject (DatabaseObjects.IDatabaseObject)

See Also