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

RowsCopied Event
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.
Syntax
'Declaration
 
Public Event RowsCopied As OracleLoaderRowsCopiedEventHandler
 
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.

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

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.

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