Skip to main content
All docs
V24.1
.NET 6.0+

WebApiDataStoreService.SelectDataWithCookie(WebApiDataContainer<SelectStatement[]>) Method

Calls the ICacheToCacheCommunicationCore.SelectData method with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public OperationResult<DataCacheSelectDataResult> SelectDataWithCookie(
    WebApiDataContainer<SelectStatement[]> data
)

Parameters

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

An object that contains an array of query statements.

Returns

Type Description
OperationResult<DataCacheSelectDataResult>

The result of the data fetch.

Remarks

[HttpPost]
public OperationResult<DataCacheSelectDataResult> SelectDataWithCookie([FromBody] WebApiDataContainer<SelectStatement[]> data) {
    return DataStoreService.SelectDataWithCookie(data);
}
See Also