Extracts the fields to save to the database from the objItem.SaveFields function. The fields are then written to the database using either an SQL INSERT or UPDATE depending on whether the object has already been saved.

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

Syntax

C#
protected void ObjectSave(
	IDatabaseObject objItem
)
Visual Basic
Protected Sub ObjectSave ( _
	objItem As IDatabaseObject _
)
Visual C++
protected:
void ObjectSave(
	IDatabaseObject^ objItem
)

Parameters

objItem
Type: DatabaseObjects..::..IDatabaseObject
The object to save to the database. The values saved to the database are extracted from the SQLFieldValues object returned from IDatabaseObject.SaveFields.

See Also