dotConnect for FreshBooks Documentation
Devart.Data.FreshBooks Namespace / FreshBooksRowUpdatingEventArgs Class
Members

In This Topic
    FreshBooksRowUpdatingEventArgs Class
    In This Topic
    Provides data for the FreshBooksDataAdapter.RowUpdating event. This class cannot be inherited.
    Syntax
    'Declaration
     
    Public Class FreshBooksRowUpdatingEventArgs 
       Inherits System.Data.Common.RowUpdatingEventArgs
    public class FreshBooksRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs 
    Remarks
    The FreshBooksDataAdapter.RowUpdating event is raised before an update to a row.

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

    1. The values in the System.Data.DataRow are moved to the parameter values.
    2. The FreshBooksDataAdapter.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 FreshBooksDataAdapter.RowUpdated event is raised.
    7. System.Data.DataRow.AcceptChanges is called.
    Inheritance Hierarchy

    System.Object
       System.EventArgs
          System.Data.Common.RowUpdatingEventArgs
             Devart.Data.FreshBooks.FreshBooksRowUpdatingEventArgs

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also