WebApiDataStoreService.ModifyDataAsync(ModificationStatement[], CancellationToken) Method
In This Article
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 |
---|---|---|
dml |
Modification |
An array of data modification statements. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellation |
Cancellation |
null | A Cancellation |
#Returns
Type | Description |
---|---|
Task<Operation |
A Task that returns the result of the data modifications. |
See Also