Skip to main content
All docs
V24.1
.NET Framework 4.5.2+

WebApiDataStoreService.ModifyDataWithCookie(WebApiDataContainer<ModificationStatement[]>) Method

Calls the ICacheToCacheCommunicationCore.ModifyData method with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public OperationResult<DataCacheModificationResult> ModifyDataWithCookie(
    WebApiDataContainer<ModificationStatement[]> data
)

Parameters

Name Type Description
data DevExpress.Xpo.DB.Helpers.WebApiDataContainer<ModificationStatement[]>

An object that contains an array of data modification statements.

Returns

Type Description
OperationResult<DataCacheModificationResult>

The result of the data modifications.

Remarks

[HttpPost]
public OperationResult<DataCacheModificationResult> ModifyDataWithCookie([FromBody] WebApiDataContainer<ModificationStatement[]> data) {
    return DataStoreService.ModifyDataWithCookie(data);
}
See Also