Skip to main content
.NET 8.0+

ICachedDataStoreService.SelectDataCached(DataCacheCookie, SelectStatement[]) Method

Defines a service operation that, when implemented by a class, fetches data from a cached data store using specified query statements and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

[OperationContract(Action = "http://tempuri.org/ICachedDataStoreService/SelectDataCached", ReplyAction = "http://tempuri.org/ICachedDataStoreService/SelectDataCachedResponse")]
[XmlSerializerFormat]
[ServiceKnownType(typeof(AggregateOperand))]
[ServiceKnownType(typeof(BetweenOperator))]
[ServiceKnownType(typeof(BinaryOperator))]
[ServiceKnownType(typeof(ContainsOperator))]
[ServiceKnownType(typeof(FunctionOperator))]
[ServiceKnownType(typeof(GroupOperator))]
[ServiceKnownType(typeof(InOperator))]
[ServiceKnownType(typeof(NotOperator))]
[ServiceKnownType(typeof(NullOperator))]
[ServiceKnownType(typeof(OperandProperty))]
[ServiceKnownType(typeof(OperandValue))]
[ServiceKnownType(typeof(ParameterValue))]
[ServiceKnownType(typeof(QueryOperand))]
[ServiceKnownType(typeof(UnaryOperator))]
[ServiceKnownType(typeof(JoinOperand))]
[ServiceKnownType(typeof(OperandParameter))]
[ServiceKnownType(typeof(QuerySubQueryContainer))]
OperationResult<DataCacheSelectDataResult> SelectDataCached(
    DataCacheCookie cookie,
    SelectStatement[] selects
)

Parameters

Name Type Description
cookie DataCacheCookie

A Root element’s state stored by a specific cache Node.

selects SelectStatement[]

An array of query statements.

Returns

Type Description
OperationResult<DataCacheSelectDataResult>

An OperationResult<DataCacheSelectDataResult> object denoting the result of the data fetch.

See Also