DbDataAdapter.CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) Method

Definition

Initializes a new instance of the RowUpdatingEventArgs class.

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 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

Parameters

dataRow
DataRow

The DataRow that updates the data source.

command
IDbCommand

The IDbCommand to execute during the Update(DataSet).

statementType
StatementType

Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.

tableMapping
DataTableMapping

A DataTableMapping object.

Returns

A new instance of the RowUpdatingEventArgs class.

Notes to Inheritors

When overriding CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) in a derived class, be sure to call the base class's CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) method.

Applies to

See also