Skip to main content
All docs
V24.2
.NET 8.0+

WebApiDataStoreService.ModifyDataAsync(ModificationStatement[], CancellationToken) Method

Calls the ModifyDataAsync method of the underlying IDataStore with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public Task<OperationResult<ModificationResult>> ModifyDataAsync(
    ModificationStatement[] dmlStatements,
    CancellationToken cancellationToken = default(CancellationToken)
)

#Parameters

Name Type Description
dmlStatements ModificationStatement[]

An array of data modification statements.

#Optional Parameters

Name Type Default Description
cancellationToken CancellationToken null

A CancellationToken object that delivers a cancellation notice to the current operation.

#Returns

Type Description
Task<OperationResult<ModificationResult>>

A Task that returns the result of the data modifications.

See Also