ModelDataSourceView.ExecuteUpdate メソッド

定義

UpdateMethod メソッドを使用して更新操作を実行します。

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

UpdateMethod メソッドで使用するパラメーター。 メソッドに関連付けられているパラメーターがない場合は、 null渡します。

values
IDictionary

更新する行の新しい値。

oldValues
IDictionary

更新する行の古い値。

返品

挿入された行の数。それ以外の場合は -1。数値が不明な場合は -1。

適用対象