Redigeeri

Jagamisviis:


EntityDataSourceView.ExecuteDelete(IDictionary, IDictionary) Method

Definition

Performs a delete operation.

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 keys of the entity to be deleted.

oldValues
IDictionary

The values of the entity to be deleted.

Returns

The number of rows deleted; otherwise, -1, if the operation fails or the number is not known.

Applies to