DbDataAdapter.CreateRowUpdatingEvent Methode

Definition

Initialisiert eine neue Instanz der RowUpdatingEventArgs-Klasse.

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

Die DataRow Datenquelle wird aktualisiert.

command
IDbCommand

Die IDbCommand Ausführung während der Update(DataSet).

statementType
StatementType

Gibt an, ob der Befehl eine UPDATE-, INSERT-, DELETE- oder SELECT-Anweisung ist.

tableMapping
DataTableMapping

Ein DataTableMapping-Objekt.

Gibt zurück

Eine neue Instanz der RowUpdatingEventArgs-Klasse.

Hinweise für Ausführende

Achten Sie beim Überschreiben CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) in einer abgeleiteten Klasse darauf, die Methode der Basisklasse CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) aufzurufen.

Gilt für:

Weitere Informationen