DbDataAdapter.CreateRowUpdatingEvent Metoda

Definicja

Inicjuje nowe wystąpienie klasy 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

Parametry

dataRow
DataRow

Element DataRow , który aktualizuje źródło danych.

command
IDbCommand

Element IDbCommand do wykonania podczas operacji Update(DataSet).

statementType
StatementType

Określa, czy polecenie jest instrukcją UPDATE, INSERT, DELETE lub SELECT.

tableMapping
DataTableMapping

Obiekt DataTableMapping.

Zwraca

Nowe wystąpienie RowUpdatingEventArgs klasy.

Uwagi dotyczące implementowania

Podczas zastępowania CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) w klasie pochodnej należy wywołać metodę klasy bazowej CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) .

Dotyczy

Zobacz też