EntityDataSourceView.ExecuteDelete Method (IDictionary, IDictionary)
.NET Framework (current version)
Performs a delete operation.
Assembly: System.Web.Entity (in System.Web.Entity.dll)
Protected Overrides Function ExecuteDelete ( keys As IDictionary, oldValues As IDictionary ) As Integer
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.Int32The number of rows deleted; otherwise, -1, if the operation fails or the number is not known.
.NET Framework
Available since 4.5
Available since 4.5
Show: