ModelDataSourceView.ExecuteDelete(IDictionary, IDictionary) Metodo

Definizione

Esegue un'operazione di eliminazione utilizzando il metodo DeleteMethod.Performs a delete operation using the DeleteMethod method.

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

Parametri

keys
IDictionary

Parametri da utilizzare con il metodo DeleteMethod.The parameters to be used with the DeleteMethod method. Se non esistono parametri associati al metodo, passare null.If there are no parameters associated with the method, pass null.

oldValues
IDictionary

Valori della riga da eliminare.The values of the row to be deleted.

Restituisce

Int32

Numero di righe eliminate; in caso contrario -1, se il numero non è noto.The number of rows deleted; otherwise, -1, if the number is not known.

Si applica a