ContextDataSourceView.ExecuteDelete(IDictionary, IDictionary) Method

Definition

Performs a delete operation using the specified keys and using row values that are used to detect conflicts.

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

Parameters

keys
IDictionary

A dictionary of row-key values for the records to delete.

oldValues
IDictionary

A dictionary of name/value pairs that represent data elements and their original values, which is used to detect data conflicts.

Returns

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

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