QueryableDataSourceView.BuildUpdateObjects 方法

定义

通过使用指定值创建要用于更新操作的对象。

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

参数

keys
IDictionary

要更新的行的键。

values
IDictionary

要在数据源中更新的行的值。

oldValues
IDictionary

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

validationErrors
IDictionary<String,Exception>

当 CRUD 操作失败时,由系统创建的转换错误的列表。

返回

要用于更新操作的对象。

适用于