QueryableDataSourceView.BuildUpdateObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.