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

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

Calls the ICacheToCacheCommunicationCore.SelectData method with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

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