DB2DataAdapter.CreateRowUpdatingEvent Method

Initializes a new instance of the RowUpdatingEventArgs class.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Overrides Protected Function CreateRowUpdatingEvent( _
   ByVal dataRow As DataRow, _
   ByVal command As IDbCommand, _
   ByVal statementType As StatementType, _
   ByVal tableMapping As DataTableMapping _
) As RowUpdatingEventArgs
[C#]
protected override RowUpdatingEventArgs CreateRowUpdatingEvent(
   DataRow dataRow,
   IDbCommand command,
   StatementType statementType,
   DataTableMapping tableMapping
);
[C++]
protected: RowUpdatingEventArgs* CreateRowUpdatingEvent(
   DataRow* dataRow,
   IDbCommand* command,
   StatementType statementType,
   DataTableMapping* tableMapping
);
[JScript]
protected override function CreateRowUpdatingEvent(
   dataRow : DataRow,
   command : IDbCommand,
   statementType : StatementType,
   tableMapping : DataTableMapping
) : RowUpdatingEventArgs;

Parameters

dataRow
The DataRow that updates the database.
command
The DB2®Command to execute during the update operation.
statementType
Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.
tableMapping
A DataTableMapping object.

Return value

A new instance of the System.Data.Common.RowUpdatingEventArgs class.

Remarks

Notes to inheritors: When overriding CreateRowUpdatingEvent in a derived class, be sure to call the CreateRowUpdatingEvent method of the base class.