Redigera

Dela via


LinqDataSourceView.ExecuteDelete(IDictionary, IDictionary) Method

Definition

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

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

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