QueryableDataSourceView.BuildDeleteObject 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 delete operation.
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
Parameters
- keys
- IDictionary
The keys of the rows to delete.
- 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 in the data source when a CRUD operation fails.
Returns
The objects to use for the delete 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.