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

Part Number E17357-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

OracleBulkCopyOptions Enumeration

The OracleBulkCopyOptions enumeration specifies the values that can be combined with an instance of the OracleBulkCopy class and used as options to determine its behavior and the behavior of the WriteToServer methods for that instance.

Table 17-15 lists all the OracleBulkCopyOptions enumeration values with a description of each enumerated value.

Table 17-15 OracleBulkCopyOptions Enumeration Members

Member Name Description

Default

Indicates that the default value for all options are to be used

UseInternalTransaction

Indicates that each batch of the bulk copy operation occurs within a transaction. If the connection used to perform the bulk copy operation is already part of a transaction, an InvalidOperationException exception is raised.

If this member is not specified, BatchSize number of rows are sent to the database, without any transaction-related activity.


Note:

All bulk copy operations are agnostic of any local or distributed transaction created by the application.

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