corelibraries-devexpress-dot-xpo-dot-db-dot-idatastore-dot-modifydata-x28-devexpress-dot-xpo-dot-db-dot-modificationstatement-x29.md
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
ModificationResult ModifyData(
params ModificationStatement[] dmlStatements
)
Function ModifyData(
ParamArray dmlStatements As ModificationStatement()
) As ModificationResult
| Name | Type | Description |
|---|---|---|
| dmlStatements | ModificationStatement[] |
An array of data modification statements.
|
| Type | Description |
|---|---|
| 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.
}
var result = dataStore.ModifyData(statements.ToArray());
foreach(var identity in result.Identities) {
Next obj
Dim result = dataStore.ModifyData(statements.ToArray())
For Each identity In result.Identities
See Also