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

Definition

Initializes a new instance of the RowUpdatedEventArgs class.

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

Parameters

dataRow
DataRow

The DataRow used to update the data source.

command
IDbCommand

The IDbCommand executed 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 RowUpdatedEventArgs class.

Notes to Implementers

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

Applies to

See also