DB2 Version 10.1 for Linux, UNIX, and Windows

DB2RowUpdatedEventArgs Class

Provides data for the RowUpdated event.

Namespace:
IBM®.Data.DB2®
Assembly:
IBM.Data.DB2 (in IBM.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 DB2DataAdapter.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:
  1. The values in the DataRow are moved to the parameter values.
  2. The DB2DataAdapter.RowUpdating event is raised.
  3. The command executes.
  4. If UpdateRowSource is set to FirstReturnedRecord, then the first returned result is placed in the DataRow.
  5. If there are output parameters, they are placed in the DataRow.
  6. The DB2DataAdapter.RowUpdated event is raised.
  7. 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.

Version information

Last update
This topic was last updated for: IBM DB2 Version 9.5
.NET Framework version
Supported in: 2.0, 3.0, 3.5, and 4.0
IBM Data Server Client
Supported in: 8.1.2 and up