DbDataAdapter.CreateRowUpdatingEvent 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);
protected abstract System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent (System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);

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 Implementers

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

Toode Versioonid
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.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