EntityDataSourceView.ExecuteDelete Method (IDictionary, IDictionary)

.NET Framework (current version)
 

Performs a delete operation.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

protected override int ExecuteDelete(
	IDictionary keys,
	IDictionary oldValues
)

Parameters

keys
Type: System.Collections.IDictionary

The keys of the entity to be deleted.

oldValues
Type: System.Collections.IDictionary

The values of the entity to be deleted.

Return Value

Type: System.Int32

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

.NET Framework
Available since 4.5
Return to top
Show: