Skip to main content
.NET Framework 4.5.2+

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

When implemented by a class, executes an object layer’s ISerializableObjectLayer.CommitObjects method implementation and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[OperationContract(Action = "http://tempuri.org/ISerializableObjectLayerService/CommitObjects")]
[XmlSerializerFormat]
OperationResult<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
OperationResult<CommitObjectStubsResult[]>

An OperationResult<CommitObjectStubsResult> object denoting the operation result.

See Also