Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SerializableObjectLayer.CommitObjects(XPDictionaryStub, XPObjectStubCollection, XPObjectStubCollection, LockingOption) Method

Performs object layer specific operations that are required to commit changes made to specified objects and return information on modified objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public CommitObjectStubsResult[] CommitObjects(
    XPDictionaryStub dictionary,
    XPObjectStubCollection objectsForDelete,
    XPObjectStubCollection objectsForSave,
    LockingOption lockingOption
)

Parameters

Name Type Description
dictionary XPDictionaryStub

An XPDictionaryStub object that is a metadata information provider.

objectsForDelete XPObjectStubCollection

An XPObjectStubCollection object which contains information on objects marked for deletion.

objectsForSave XPObjectStubCollection

An XPObjectStubCollection object which contains information on objects marked for saving.

lockingOption LockingOption

A LockingOption enumeration value specifying whether check for optimistic locking is made.

Returns

Type Description
CommitObjectStubsResult[]

An array of CommitObjectStubsResult objects containing information on modified objects.

See Also