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.
Property | Description |
---|---|
Abort | Specifies whether to abort the data loading operation. |
RowsCopied | 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.