Skip Headers
Oracle® Data Provider for .NET Developer's Guide
11g Release 2 (11.2.0.4)

E23174-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

OracleRowsCopiedEventHandler Delegate

The OracleRowsCopiedEventHandler delegate represents the method that handles the OracleRowsCopied event of an OracleBulkCopy object.

Declaration

// C#
public delegate void OracleRowsCopiedEventHandler (object sender,    OracleRowsCopiedEventArgs eventArgs);

Parameters

Remarks

Event callbacks can be registered through this event delegate for applications that wish to be notified every time the number of rows specified by the OracleBulkCopy.NotifyAfter property has been processed.

If the event handler calls the OracleBulkCopy.Close method, an exception is generated, and the OracleBulkCopy object state does not change.

The event handler can also set the OracleRowsCopiedEventArgs.Abort property to true to indicate that the bulk copy operation must be aborted. If the bulk copy operation is part of an external transaction, an exception is generated and the transaction is not rolled back. The application is responsible for either committing or rolling back the external transaction.

If there is no external transaction, the internal transaction for the current batch of rows is automatically rolled back. However the previous batches of imported rows are unaffected, as their transactions have already been committed.

Requirements

Namespace: Oracle.DataAccess.Client

Assembly: Oracle.DataAccess.dll

ODP.NET Version: ODP.NET for .NET Framework 2.0 or ODP.NET for .NET Framework 4