DB2RowUpdatedEventArgs Class
Provides data for the RowUpdated event.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Inheritance hierarchy
System.Object
System.EventArgs
System.Data.Common.RowUpdatedEventArgs
IBM.Data.DB2.DB2RowUpdatedEventArgs
Syntax
[Visual Basic]
NotInheritable Public Class DB2RowUpdatedEventArgs
Inherits RowUpdatedEventArgs
[C#]
public sealed class DB2RowUpdatedEventArgs : RowUpdatedEventArgs
[C++]
public __gc __sealed class DB2RowUpdatedEventArgs : public
RowUpdatedEventArgs
[JScript]
public class DB2RowUpdatedEventArgs extends RowUpdatedEventArgs
Remarks
The DB2®DataAdapter.RowUpdated event is raised when an update to a row is completed.
When using the Update method,
there are two events that occur for each data row updated: DB2DataAdapter.RowUpdating and RowUpdated.
The order of execution for an Update is as follows:
- The values in the DataRow are moved to the parameter values.
- The DB2DataAdapter.RowUpdating event is raised.
- The command executes.
- If UpdateRowSource is set to FirstReturnedRecord, then the first returned result is placed in the DataRow.
- If there are output parameters, they are placed in the DataRow.
- The DB2DataAdapter.RowUpdated event is raised.
- AcceptChanges is called.
Thread safety
Any public static (Shared in
Visual Basic) members of this type are safe for multithreaded operations.
Any instance members are not guaranteed to be thread safe.