Bagikan melalui


DbDataAdapter.CreateRowUpdatingEvent Metode

Definisi

Menginisialisasi instans baru kelas RowUpdatingEventArgs.

protected:
 virtual System::Data::Common::RowUpdatingEventArgs ^ CreateRowUpdatingEvent(System::Data::DataRow ^ dataRow, System::Data::IDbCommand ^ command, System::Data::StatementType statementType, System::Data::Common::DataTableMapping ^ tableMapping);
protected:
 abstract System::Data::Common::RowUpdatingEventArgs ^ CreateRowUpdatingEvent(System::Data::DataRow ^ dataRow, System::Data::IDbCommand ^ command, System::Data::StatementType statementType, System::Data::Common::DataTableMapping ^ tableMapping);
protected virtual System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent (System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
protected virtual System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent (System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
protected abstract System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent (System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
abstract member CreateRowUpdatingEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatingEventArgs
override this.CreateRowUpdatingEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatingEventArgs
abstract member CreateRowUpdatingEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatingEventArgs
Protected Overridable Function CreateRowUpdatingEvent (dataRow As DataRow, command As IDbCommand, statementType As StatementType, tableMapping As DataTableMapping) As RowUpdatingEventArgs
Protected MustOverride Function CreateRowUpdatingEvent (dataRow As DataRow, command As IDbCommand, statementType As StatementType, tableMapping As DataTableMapping) As RowUpdatingEventArgs

Parameter

dataRow
DataRow

Yang DataRow memperbarui sumber data.

command
IDbCommand

untuk IDbCommand mengeksekusi selama Update(DataSet).

statementType
StatementType

Apakah perintah tersebut adalah pernyataan UPDATE, INSERT, DELETE, atau SELECT.

tableMapping
DataTableMapping

Objek DataTableMapping.

Mengembalikan

Instans RowUpdatingEventArgs baru kelas.

Catatan Bagi Implementer

Saat mengambil alih di kelas turunan CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) , pastikan untuk memanggil metode kelas CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) dasar.

Berlaku untuk

Lihat juga