Επεξεργασία

Κοινή χρήση μέσω


ContextDataSourceView.ExecuteDelete(IDictionary, IDictionary) Method

Definition

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

protected:
 override int ExecuteDelete(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteDelete (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);
override this.ExecuteDelete : System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteDelete (keys As IDictionary, oldValues As IDictionary) As Integer

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