QueryableDataSourceView.ExecuteUpdate Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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 de rader som ska uppdateras.
- values
- IDictionary
Värdena för de rader som ska uppdateras.
- oldValues
- IDictionary
Radvärdena som ska utvärderas för att identifiera datakonflikter.
Returer
Antalet rader som uppdaterades i datakällan.