QueryableDataSourceView.BuildDeleteObject 方法

定义

创建要用于删除操作的对象。

protected:
 System::Web::UI::WebControls::QueryableDataSourceEditData ^ BuildDeleteObject(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues, System::Collections::Generic::IDictionary<System::String ^, Exception ^> ^ validationErrors);
protected System.Web.UI.WebControls.QueryableDataSourceEditData BuildDeleteObject (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues, System.Collections.Generic.IDictionary<string,Exception> validationErrors);
member this.BuildDeleteObject : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.Generic.IDictionary<string, Exception> -> System.Web.UI.WebControls.QueryableDataSourceEditData
Protected Function BuildDeleteObject (keys As IDictionary, oldValues As IDictionary, validationErrors As IDictionary(Of String, Exception)) As QueryableDataSourceEditData

参数

keys
IDictionary

要删除的行的键。

oldValues
IDictionary

为检测数据冲突而计算的行值。

validationErrors
IDictionary<String,Exception>

当 CRUD 操作失败时,在数据源中创建的转换错误的列表。

返回

QueryableDataSourceEditData

要用于删除操作的对象。

适用于