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。

适用于