Skip to main content
.NET 6.0+

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

When implemented by a class, commits changes made to specified objects and returns information on modified objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

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