ModelDataSourceView.ExecuteDelete(IDictionary, IDictionary) 方法

定义

DeleteMethod 方法执行删除操作。

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

DeleteMethod 方法一起使用的参数。 如果没有与方法关联的参数,则传递 null

oldValues
IDictionary

要删除的行值。

返回

Int32

删除的行数;否则,如果行数未知,则为 -1。

适用于