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

Делите путем


LinqDataSourceView.ExecuteDelete(IDictionary, IDictionary) Method

Definition

Performs a delete operation by using the specified keys and old values.

C#
protected override int ExecuteDelete(System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);

Parameters

keys
IDictionary

The row key values for the records to be deleted.

oldValues
IDictionary

The row values that are evaluated to detect data conflicts.

Returns

The number of objects or rows that were deleted from the underlying data source.

Remarks

For information about how to delete data through a LinqDataSource control, see the Delete(IDictionary, IDictionary) method of the LinqDataSource class.

Applies to

Производ Верзије
.NET Framework 3.5, 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