Skip to main content
.NET 8.0+

ICachedDataStoreService.ModifyDataCached(DataCacheCookie, ModificationStatement[]) Method

Defines a service operation that, when implemented by a class, updates data in a cached data store using specified modification statements and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

[OperationContract(Action = "http://tempuri.org/ICachedDataStoreService/ModifyDataCached", ReplyAction = "http://tempuri.org/ICachedDataStoreService/ModifyDataCachedResponse")]
[XmlSerializerFormat]
[ServiceKnownType(typeof(DeleteStatement))]
[ServiceKnownType(typeof(InsertStatement))]
[ServiceKnownType(typeof(UpdateStatement))]
[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<DataCacheModificationResult> ModifyDataCached(
    DataCacheCookie cookie,
    ModificationStatement[] dmlStatements
)

Parameters

Name Type Description
cookie DataCacheCookie

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

dmlStatements ModificationStatement[]

An array of data modification statements.

Returns

Type Description
OperationResult<DataCacheModificationResult>

An OperationResult<DataCacheModificationResult> denoting the result of the data modifications.

See Also