dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlRowUpdatedEventArgs Class
Members

In This Topic
    PgSqlRowUpdatedEventArgs Class
    In This Topic
    Provides data for the PgSqlDataAdapter.RowUpdated event.
    Syntax
    'Declaration
     
    Public Class PgSqlRowUpdatedEventArgs 
       Inherits System.Data.Common.RowUpdatedEventArgs
    public class PgSqlRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs 
    Remarks
    The PgSqlDataAdapter.RowUpdated event is raised when an update to a row is completed.

    When using the System.Data.Common.DbDataAdapter.Update() method, there are two events that occur for each data row updated: PgSqlDataAdapter.RowUpdating and PgSqlDataAdapter.RowUpdated. The order of execution for an System.Data.Common.DbDataAdapter.Update() is as follows:

    1. The values in the System.Data.DataRow are moved to the parameter values.
    2. The PgSqlDataAdapter.RowUpdating event is raised.
    3. The command executes.
    4. If the System.Data.UpdateRowSource enumeration is set to System.Data.UpdateRowSource.FirstReturnedRecord, the first returned result is placed in the System.Data.DataRow.
    5. If there are output parameters, they are placed in the System.Data.DataRow.
    6. The PgSqlDataAdapter.RowUpdated event is raised.
    7. System.Data.DataRow.AcceptChanges is called.
    Inheritance Hierarchy

    System.Object
       System.EventArgs
          System.Data.Common.RowUpdatedEventArgs
             Devart.Data.PostgreSql.PgSqlRowUpdatedEventArgs

    See Also