Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

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

Calls the ICacheToCacheCommunicationCore.ModifyData method with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

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