dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLoader Class / RowsCopied Event

In This Topic
    RowsCopied Event
    In This Topic
    This event occurs each time after NotifyAfter number of rows copied. You can use this event to track and show data loading operation progress or abort the operation when necessary.
    Public Event RowsCopied As OracleLoaderRowsCopiedEventHandler
    public event OracleLoaderRowsCopiedEventHandler RowsCopied
    Event Data

    The event handler receives an argument of type OracleLoaderRowsCopiedEventArgs containing data related to this event. The following OracleLoaderRowsCopiedEventArgs properties provide information specific to this event.

    Specifies whether to abort the data loading operation.  
    Gets the number of rows processed since the previous RowsCopied event call.  

    This evect can be useful to display the data loading operation progress, when the operation is started via the Devart.Common.DbLoader.LoadTable method.

    To abort the operation, set OracleLoaderRowsCopiedEventArgs.Abort to true. In this case OracleLoader frees all resources correctly and generates System.OperationCanceledException, which you can catch and process in your code.


    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