Editare

Partajați prin


QueryableDataSourceView.BuildUpdateObjects Method

Definition

Creates the objects to use for the update operation by using the specified values.

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

Parameters

keys
IDictionary

The keys of the rows to update.

values
IDictionary

The values of the rows to update in the data source.

oldValues
IDictionary

The row values to evaluate in order to detect data conflicts.

validationErrors
IDictionary<String,Exception>

The list of conversion errors that are created by the system when a CRUD operation fails.

Returns

The objects to use for the update operation.

Applies to