ContextDataSourceView.ExecuteUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.