Skip to main content
.NET 6.0+

IDataStoreService.ModifyData(ModificationStatement[]) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[OperationContract(Action = "http://tempuri.org/IDataStoreService/ModifyData", ReplyAction = "http://tempuri.org/IDataStoreService/ModifyDataResponse")]
[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<ModificationResult> ModifyData(
    ModificationStatement[] dmlStatements
)

Parameters

Name Type Description
dmlStatements ModificationStatement[]

An array of data modification statements.

Returns

Type Description
OperationResult<ModificationResult>

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

See Also