EntityDataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary) Método

Definição

Executa uma operação de atualização.Performs an update operation.

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

Parâmetros

keys
IDictionary

A chave da entidade a ser atualizada.The keys of the entity to be updated.

values
IDictionary

Os novos valores da entidade a ser atualizada.The new values of the entity to be updated.

oldValues
IDictionary

Os valores antigos da entidade a ser atualizada.The old values of the entity to be updated.

Retornos

Int32

O número de linhas atualizadas; caso contrário, -1, se a operação falhar ou o número não for conhecido.The number of rows updated; otherwise, -1, if the operation fails or the number is not known.

Aplica-se a