Прочитај на енглеском Уреди

Делите путем


QueryableDataSourceView.BuildDeleteObject Method

Definition

Creates the objects to use for the delete operation.

C#
protected System.Web.UI.WebControls.QueryableDataSourceEditData BuildDeleteObject(System.Collections.IDictionary keys, System.Collections.IDictionary oldValues, System.Collections.Generic.IDictionary<string,Exception> validationErrors);

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

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1