DB2DataAdapter.CreateRowUpdatedEvent Method
Initializes a new instance of the RowUpdatedEventArgs class, regardless of whether the update is successful.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Syntax
[Visual Basic]
Overrides Protected Function CreateRowUpdatedEvent( _
ByVal dataRow As DataRow, _
ByVal command As IDbCommand, _
ByVal statementType As StatementType, _
ByVal tableMapping As DataTableMapping _
) As RowUpdatedEventArgs
[C#]
protected override RowUpdatedEventArgs CreateRowUpdatedEvent(
DataRow dataRow,
IDbCommand command,
StatementType statementType,
DataTableMapping tableMapping
);
[C++]
protected: RowUpdatedEventArgs* CreateRowUpdatedEvent(
DataRow* dataRow,
IDbCommand* command,
StatementType statementType,
DataTableMapping* tableMapping
);
[JScript]
protected override function CreateRowUpdatedEvent(
dataRow : DataRow,
command : IDbCommand,
statementType : StatementType,
tableMapping : DataTableMapping
) : RowUpdatedEventArgs;
Parameters
- dataRow
- The DataRow used to update the database.
- command
- The DB2®Command executed 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.RowUpdatedEventArgs class.
Remarks
Notes to inheritors: When overriding CreateRowUpdatedEvent in
a derived class, be sure to call the CreateRowUpdatedEvent method
of the base class.