Udostępnij za pośrednictwem


DbDataAdapter.CreateRowUpdatedEvent Metoda

Definicja

Inicjuje nowe wystąpienie klasy RowUpdatedEventArgs.

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

Parametry

dataRow
DataRow

Służy DataRow do aktualizowania źródła danych.

command
IDbCommand

Wykonano IDbCommand polecenie podczas Update(DataSet)elementu .

statementType
StatementType

Niezależnie od tego, czy polecenie jest instrukcją UPDATE, INSERT, DELETE lub SELECT.

tableMapping
DataTableMapping

Obiekt DataTableMapping.

Zwraca

Nowe wystąpienie RowUpdatedEventArgs klasy.

Uwagi dotyczące implementowania

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

Dotyczy

Zobacz też