EntityDataSourceView.ExecuteUpdate Metod

Definition

Utför en uppdateringsåtgärd.

protected:
 override int ExecuteUpdate(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteUpdate(System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.ExecuteUpdate : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteUpdate (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer

Parametrar

keys
IDictionary

Nycklarna för den entitet som ska uppdateras.

values
IDictionary

De nya värdena för den entitet som ska uppdateras.

oldValues
IDictionary

De gamla värdena för den entitet som ska uppdateras.

Returer

Antalet rader har uppdaterats. i annat fall -1, om åtgärden misslyckas eller om talet inte är känt.

Gäller för