Modifier

Partager via


ContextDataSourceView.ExecuteUpdate Method

Definition

Performs an update operation by using the specified row-key values, the row values, and the row values that are used to detect conflicts.

protected:
 override int ExecuteUpdate(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteUpdate (System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.ExecuteUpdate : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteUpdate (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer

Parameters

keys
IDictionary

A dictionary of row-key values for the records to update.

values
IDictionary

A dictionary of name/value pairs that represent data elements and their new values.

oldValues
IDictionary

A dictionary of name/value pairs that represent data elements and their original values, which is used to detect data conflicts.

Returns

The number of rows that were updated in the data source.

Applies to