EntityDataSourceView.ExecuteUpdate Method (IDictionary, IDictionary, IDictionary)
.NET Framework (current version)
Performs an update operation.
Assembly: System.Web.Entity (in System.Web.Entity.dll)
Protected Overrides Function ExecuteUpdate ( keys As IDictionary, values As IDictionary, oldValues As IDictionary ) As Integer
Parameters
- keys
-
Type:
System.Collections.IDictionary
The keys of the entity to be updated.
- values
-
Type:
System.Collections.IDictionary
The new values of the entity to be updated.
- oldValues
-
Type:
System.Collections.IDictionary
The old values of the entity to be updated.
Return Value
Type: System.Int32The number of rows updated; otherwise, -1, if the operation fails or the number is not known.
.NET Framework
Available since 4.5
Available since 4.5
Show: