ModelDataSourceView.ExecuteUpdate Méthode

Définition

Exécute une opération de mise à jour à l'aide de la méthode UpdateMethod.

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

Paramètres

keys
IDictionary

Paramètres à utiliser avec la méthode UpdateMethod. Si aucun paramètre n'est associé à la méthode, passez la valeur null.

values
IDictionary

Nouvelles valeurs de la ligne à mettre à jour.

oldValues
IDictionary

Anciennes valeurs de la ligne à mettre à jour.

Retours

Nombre de lignes insérées ; sinon, -1 si le nombre n'est pas connu.

S’applique à