QueryableDataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary) 方法

定义

执行更新操作。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

参数

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.

返回

Int32

已在数据源中更新的行数。The number of rows that were updated in the data source.

适用于