EntityDataSourceView::ExecuteUpdate Method (IDictionary^, IDictionary^, IDictionary^)
.NET Framework (current version)
Performs an update operation.
Assembly: System.Web.Entity (in System.Web.Entity.dll)
protected: virtual int ExecuteUpdate( IDictionary^ keys, IDictionary^ values, IDictionary^ oldValues ) override
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: