.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

SerializableObjectLayerClient.CommitChangesAsync(Session, ICollection, ICollection, AsyncCommitCallback) Method

Performs object layer specific operations that are required to asynchronously commit object changes made in a specified session and notifies upon completion.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll


public object CommitChangesAsync(
    Session session,
    ICollection fullListForDelete,
    ICollection completeListForSave,
    AsyncCommitCallback callback
Public Function CommitChangesAsync(
    session As Session,
    fullListForDelete As ICollection,
    completeListForSave As ICollection,
    callback As AsyncCommitCallback
) As Object


Name Type Description
session Session

A Session with pending object changes.

fullListForDelete ICollection

A collection of persistent objects to be deleted.

completeListForSave ICollection

A collection of persistent objects to be saved.

callback AsyncCommitCallback

An AsyncCommitCallback delegate to be called after the changes have been committed. Use the callback to store the exception information passed as a parameter, and use this information later, to raise the exception again, within the original thread. Do not raise exceptions or modify persistent objects within a callback.


Type Description

An object identifying the current asynchronous operation, intended for internal use.

See Also