Uredi

Deli z drugimi prek


QueryableDataSourceView.BuildDeleteObject Method

Definition

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