Bahasa

EntityDataSourceView.ExecuteDelete(IDictionary, IDictionary) Metode

Definisi

Melakukan operasi penghapusan.

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

Parameter

keys
IDictionary

Kunci entitas yang akan dihapus.

oldValues
IDictionary

Nilai entitas yang akan dihapus.

Mengembalikan

Jumlah baris yang dihapus; jika tidak, -1, jika operasi gagal atau jumlahnya tidak diketahui.

Berlaku untuk