Performs loading an object marked with the FieldMappingObjectHook attribute.
Loads an object with fields or properties marked with DatabaseObjects.FieldMapping attributes
with the fields from the database.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public static void LoadFieldsForObject( Object objObject, SQLFieldValues objFields ) |
Visual Basic |
---|
Public Shared Sub LoadFieldsForObject ( _ objObject As Object, _ objFields As SQLFieldValues _ ) |
Visual C++ |
---|
public: static void LoadFieldsForObject( Object^ objObject, SQLFieldValues^ objFields ) |
Parameters
- objObject
- Type: System..::..Object
The generic object that does not implement IDatabaseObject but contains FieldMapping attributes.
- objFields
- Type: DatabaseObjects.SQL..::..SQLFieldValues
[Missing <param name="objFields"/> documentation for "M:DatabaseObjects.DatabaseObjectUsingAttributesHelper.LoadFieldsForObject(System.Object,DatabaseObjects.SQL.SQLFieldValues)"]
Remarks
Typically used from within the overridden LoadFields function when loading a generic object normally
marked with the FieldMappingObjectHook attribute.