LinqDataSourceView.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

Radnyckelvärdena för posterna som ska uppdateras.

values
IDictionary

Radvärdena som ska uppdateras i datakällan.

oldValues
IDictionary

Radvärdena som utvärderas för att identifiera datakonflikter.

Returer

Antalet rader som uppdaterades i datakällan.

Kommentarer

Information om hur du uppdaterar data via en LinqDataSource kontroll finns i Update(IDictionary, IDictionary, IDictionary) klassens LinqDataSource metod.

Gäller för

Se även