Edit

Bagikan melalui


QueryableDataSourceView.ExecuteUpdate Method

Definition

Performs an update operation.

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

The keys of the rows to update.

values
IDictionary

The values of the rows to update.

oldValues
IDictionary

The row values to evaluate in order to detect data conflicts.

Returns

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

Applies to