DbDataAdapter.CreateRowUpdatedEvent Method

Definition

Initializes a new instance of the RowUpdatedEventArgs class.

C#
protected virtual System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
C#
protected virtual System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
C#
protected abstract System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);

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

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also