共用方式為


EntityDataSourceView.ExecuteDelete(IDictionary, IDictionary) 方法

定義

執行刪除作業。

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

參數

keys
IDictionary

要刪除之實體的索引鍵。

oldValues
IDictionary

要刪除之實體的值。

傳回

刪除之資料列的數目,如果作業失敗或數目不明則為 -1。

適用於