Oracle Data Provider for .NET Assemblies
This section contains the following topics:
Oracle Data Provider for .NET, Unmanaged Driver Assemblies
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
.
Oracle Data Provider for .NET, Managed Driver and ODP.NET Core Assemblies
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.ManagedDataAccess.EntityFramework.dll
- Only required when using Code First or Entity Framework 6 or higher. It contains theOracle.ManagedDataAccess.EntityFramework
namespace. -
Oracle.ManagedDataAccessIOP.dll
- Only required when using Kerberos. The assembly has 32-bit and x64 versions depending on the .NET Framework's bitness in which it runs. The assembly makes calls to unmanaged assemblies. Applications do not need to explicitly add this assembly to their project as ODP.NET is already configured to access this assembly by default.
Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client Namespaces
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, ODP.NET Core and/or by .NET stored procedures. All are supported by ODP.NET, Unmanaged Driver.
Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client
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 the ODP.NET Core | Supported in .NET Stored Procedures | Description |
---|---|---|---|---|
- |
- |
No |
The |
|
No |
No |
- |
The |
|
No |
No |
- |
An |
|
No |
No |
- |
The |
|
No |
No |
- |
An |
|
No |
No |
- |
The |
|
No |
No |
- |
The |
|
No |
No |
- |
An |
|
No |
No |
- |
An |
|
No |
No |
- |
The |
|
No |
No |
- |
The |
|
- |
No |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
The |
|
- |
- |
- |
An |
|
- |
- |
- |
|
|
- |
- |
- |
An |
|
No |
No |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
- |
No |
An |
|
- |
- |
- |
The |
|
- |
- |
- |
An |
|
- |
- |
- |
The |
|
No |
No |
No |
The |
|
No |
No |
No |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
No |
An |
|
- |
- |
- |
The |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
|
- |
No |
- |
An |
|
- |
No |
- |
An |
|
No |
No |
- |
The |
|
No |
No |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
- |
- |
- |
The |
|
No |
No |
- |
An |
|
- |
- |
No |
An |
|
- |
- |
- |
An |
|
- |
- |
- |
An |
Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client Enumerations
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 and ODP.NET Core | 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 |
|
- |
- |
The |
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Namespaces
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.
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Structures
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 |
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Exceptions
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 |
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Classes
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 and ODP.NET Core | Description |
---|---|---|
No |
The |
|
- |
An |
|
- |
An |
|
- |
An |
|
No |
The |
|
No |
The |
|
No |
An |
|
- |
An |
|
No |
The |
|
- |
An |
|
- |
An |
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Interfaces
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 and ODP.NET Core | Description |
---|---|---|
No |
The |
|
No |
|
|
No |
The |
|
- |
The |
Oracle.DataAccess.Types and Oracle.ManagedDataAccess.Types Enumerations
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 and ODP.NET Core | Description |
---|---|---|
No |
|
|
No |
|