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

Definition

Initializes a new instance of the RowUpdatingEventArgs class.

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

Parameters

dataRow
DataRow DataRow DataRow

The DataRow that updates the data source.

command
IDbCommand IDbCommand IDbCommand

The IDbCommand to execute during the Update(DataSet).

statementType
StatementType StatementType StatementType

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

Returns

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