Back to Devexpress

IDataStore.ModifyData(ModificationStatement[]) Method

corelibraries-devexpress-dot-xpo-dot-db-dot-idatastore-dot-modifydata-x28-devexpress-dot-xpo-dot-db-dot-modificationstatement-x29.md

latest2.8 KB
Original Source

IDataStore.ModifyData(ModificationStatement[]) Method

Updates data in a data store using the specified modification statements.

Namespace : DevExpress.Xpo.DB

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
ModificationResult ModifyData(
    params ModificationStatement[] dmlStatements
)
vb
Function ModifyData(
    ParamArray dmlStatements As ModificationStatement()
) As ModificationResult

Parameters

NameTypeDescription
dmlStatementsModificationStatement[]

An array of data modification statements.

|

Returns

TypeDescription
ModificationResult

The result of the data modifications.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ModifyData(ModificationStatement[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

XAF-CRUD-for-Non-Persistent-Objects-Stored-Remotely/CS/NonPersistentObjectsDemo.Module/DataStoreMapper.cs#L162

csharp
}
var result = dataStore.ModifyData(statements.ToArray());
foreach(var identity in result.Identities) {

XAF-CRUD-for-Non-Persistent-Objects-Stored-Remotely/VB/NonPersistentObjectsDemo.Module/DataStoreMapper.vb#L168

vb
Next obj
Dim result = dataStore.ModifyData(statements.ToArray())
For Each identity In result.Identities

See Also

IDataStore Interface

IDataStore Members

DevExpress.Xpo.DB Namespace