Saves an object with fields or properties marked with DatabaseObjects.FieldMapping attributes to the SQL.SQLFieldValues object for saving to the database.

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

Syntax

C#
public static SQLFieldValues SaveFieldsForObject(
	Object objObject
)
Visual Basic
Public Shared Function SaveFieldsForObject ( _
	objObject As Object _
) As SQLFieldValues
Visual C++
public:
static SQLFieldValues^ SaveFieldsForObject(
	Object^ objObject
)

Parameters

objObject
Type: System..::..Object
The generic object that does not implement IDatabaseObject but contains FieldMapping attributes.

Return Value

[Missing <returns> documentation for "M:DatabaseObjects.DatabaseObjectUsingAttributesHelper.SaveFieldsForObject(System.Object)"]

Remarks

Typically used from within the overridden SaveFields function when loading a generic object normally marked with the FieldMappingObjectHook attribute.

See Also