This subroutine should copy the database fields from objFields to the object's variables. objFields is populated with all of the fields from the associated record.

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

Syntax

C#
void LoadFields(
	SQLFieldValues objFields
)
Visual Basic
Sub LoadFields ( _
	objFields As SQLFieldValues _
)
Visual C++
void LoadFields(
	SQLFieldValues^ objFields
)

Parameters

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

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

Examples

CopyC#
Protected Sub LoadFields(ByVal objFields As SQL.SQLFieldValues) Implements IDatabaseObject.LoadFields

    pstrCode = objFields("ProductCode").Value
    pstrDescription = objFields("ProductDescription").Value

End Sub

See Also