This section contains the following topics:
Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client Namespaces
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Namespaces
The Oracle.DataAccess.dll
assembly provides two namespaces:
The Oracle.DataAccess.Client
namespace contains ODP.NET classes and enumerations for the client-side provider.
The Oracle.DataAccess.Types
namespace contains the Oracle Data Provider for .NET data types (ODP.NET Types).
To use Code First or Entity Framework 6 or higher with ODP.NET, Unmanaged Driver, add Oracle.DataAccess.EntityFramework.dll
as a project assembly reference. It contains the namespace Oracle.DataAccess.EntityFramework
.
The Oracle.ManagedDataAccess.dll
assembly provides two namespaces:
The Oracle.ManagedDataAccess.Client
namespace contains ODP.NET classes and enumerations for the client-side provider.
The Oracle.ManagedDataAccess.Types
namespace contains the Oracle Data Provider for .NET data types (ODP.NET Types).
ODP.NET, Managed Driver contains additional assemblies. These assemblies are optional to install if not using the specific functionality.
Applications do not need to explicitly add these assemblies to their project. ODP.NET, Managed Driver will access these assemblies by default if installed.
The one exception is Oracle.ManagedDataAccess.EntityFramework.dll
. That DLL must be explicitly added to a project for its functionality to be used.
Oracle.ManagedDataAccessDTC.dll
- Only required when using distributed transactions. The assembly is fully managed, but has 32-bit and x64 versions depending on the .NET Framework's bitness in which it runs. The assembly makes calls to unmanaged assemblies.
Oracle.ManagedDataAccess.EntityFramework.dll
- Only required when using Code First or Entity Framework 6 or higher. It contains the Oracle.ManagedDataAccess.EntityFramework
namespace.
The Oracle.DataAccess.Client
and Oracle.ManagedDataAccess.Client
namespaces contains implementations of core ADO.NET classes and enumerations for ODP.NET, as well as ODP.NET specific classes.
The following tables list ODP.NET classes, enumerations, and types that are supported by the Oracle.DataAccess.Client
and Oracle.ManagedDataAccess.Client
namespaces. The tables indicate which of them are not supported by ODP.NET, Managed Driver and/or by .NET stored procedures. All are supported by ODP.NET, Unmanaged Driver.
Table 1-1 lists the Oracle.DataAccess.Client
and Oracle.ManagedDataAccess.Client
classes and delegates.
Table 1-1 Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client
Class or Delegate | Supported in the ODP.NET, Managed Driver | Supported in .NET Stored Procedures | Description |
---|---|---|---|
- |
No |
The |
|
No |
- |
The |
|
No |
- |
An |
|
No |
- |
The |
|
No |
- |
An |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
An |
|
No |
- |
An |
|
No |
- |
The |
|
No |
- |
The |
|
- |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
No |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
- |
No |
An |
|
- |
- |
The |
|
- |
- |
An |
|
- |
- |
The |
|
No |
No |
The |
|
No |
No |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The This class has been deprecated in ODP.NET 12.1.0.2. It will be desupported in a future release. |
|
- |
- |
The |
|
- |
No |
An |
|
- |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
- |
- |
An |
|
No |
- |
The |
|
No |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
No |
An |
|
No |
- |
An |
|
No |
- |
An |
Table 1-2 lists the client enumerations.
Table 1-2 Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client Enumerations
Enumeration | Supported in the ODP.NET, Managed Driver | Supported in .NET Stored Procedures | Description |
---|---|---|---|
No |
No |
|
|
No |
No |
|
|
No |
No |
|
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
No |
- |
The |
|
- |
No |
|
|
No |
- |
|
|
No |
- |
|
|
No |
- |
|
|
- |
- |
|
|
- |
- |
The |
|
- |
- |
The |
|
- |
- |
The |
|
- |
No |
|
|
- |
No |
|
|
- |
No |
|
|
- |
- |
The |
|
- |
- |
The |
|
No |
- |
The |
The Oracle.DataAccess.Types
and Oracle.ManagedDataAccess.Types
namespaces provides classes, structures, and exceptions for Oracle native types that can be used with Oracle Data Provider for .NET.
Table 1-3 lists the type structures.
Table 1-3 Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Structures
Structure | Description |
---|---|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
Type Exceptions are thrown only by ODP.NET type structures. Table 1-4 lists the type exceptions.
Table 1-4 Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Exceptions
Exception | Description |
---|---|
The |
|
The |
|
The |
Table 1-5 lists the type classes.
Table 1-5 Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Classes
Class | Supported in the ODP.NET, Managed Driver | Description |
---|---|---|
No |
The |
|
- |
An |
|
- |
An |
|
- |
An |
|
No |
The |
|
No |
The |
|
No |
An |
|
- |
An |
|
No |
The |
|
No |
An |
|
No |
An |
Table 1-6 lists the type interfaces.
Table 1-6 Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Interfaces
Interface | Supported in the ODP.NET, Managed Driver | Description |
---|---|---|
No |
The |
|
No |
|
|
No |
The |
|
- |
The |
Table 1-7 lists the type enumerations.
Table 1-7 Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Enumerations
Enumeration | Supported in the ODP.NET, Managed Driver | Description |
---|---|---|
No |
|
|
No |
|