dotConnect for Oracle is a high-performance ORM enabled data provider for Oracle and Oracle Cloud (DBaaS) that builds on ADO.NET technology. The provider works with .NET Frameworks 2.0+, .NET Core 2.0+, .NET 5+. It supports a wide range of Oracle-specific features, including different connection modes/protocols, data types, and optimized components for bulk data operations and database script handling. In Direct mode does not require Oracle Client Software and works directly through TCP/IP. Package provides advanced Visual Studio integration and convenient visual component editors to simplify component tweaking. More information at https://www.devart.com/dotconnect/oracle/ Key Features * Direct Mode: Allows your application to work with Oracle directly, without involving Oracle client library. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many Oracle-specific performance features & optimizations to ensure the highest performance. * Monitoring: Allows per-component tracing of database events with a free dbMonitor application. * Security: Supports various encryption ciphers, SSL and SSH connections, etc. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely. License dotConnect for Oracle is available in several editions. The NuGet package initiates the retrieval of an activation key from the Devart website. This key is required to activate the product for a free trial.
$ dotnet add package Devart.Data.OracledotConnect for Oracle is a high-performance ORM enabled data provider for Oracle and Oracle Cloud (DBaaS) that builds on ADO.NET technology.
The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+.

It supports a wide range of Oracle-specific features, including different connection modes/protocols, data types, and optimized components for bulk data operations and database script handling. In Direct mode does not require Oracle Client Software and works directly through TCP/IP. Package provides advanced Visual Studio integration and convenient visual component editors to simplify component tweaking.
More information at dotConnect for Oracle.
The following table show which version of this package to use with which version of frameworks.
| Frameworks | Version support |
|---|---|
| .NET | 9, 8, 7, 6, 5 |
| .NET Core | 3, 2, 1 |
| .NET Framework | 4.8, 4.7, 4.6 |
More information here
For projects, using general ADO.NET functionality of dotConnect for Oracle, you need to install this package. Execute the following command in the Package Manager Console:
Install-Package Devart.Data.Oracle
For projects, using Entity Framework Core 1, 3, 5, 6, 7, 8, 9 with Oracle, install the package.
For projects that require integration with Entity Framework 6.4 (EF6), use the Devart.Data.Oracle.EF6 package.
dotConnect for Oracle is available in several editions. See pricing options for ordering.
The NuGet package initiates a 30-day free trial automatically, so no additional action is required.
In this example, a new instance of the OracleConnection class (part of the Devart.Data.Oracle namespace) is created.
using Devart.Data.Oracle;
...
OracleConnectionStringBuilder oraCSB = new OracleConnectionStringBuilder();
oraCSB.Direct = true;
oraCSB.Server = "127.0.0.1";
oraCSB.Port = 1521;
oraCSB.ServiceName = "orcl";
oraCSB.UserId = "demo";
oraCSB.Password = "test";
OracleConnection myConnection = new OracleConnection(oraCSB.ConnectionString);
myConnection.Open();
This snippet simplifies the connection setup by directly assigning a connection string to the ConnectionString property of the OracleConnection object
connection.ConnectionString = "UserId=demo;Password=test;Server=127.0.0.1;";Configuration File Snippet (appsettings.json):
{
"ConnectionStrings": {
"DefaultConnection": "UserId=demo;Password=test;Server=127.0.0.1;Port=1521;"
}
}Dependency Injection of IConfiguration:
private readonly IConfiguration configuration;
public YourController(IConfiguration config)
{
configuration = config;
}Retrieving a Connection String:
var connectionString = configuration.GetConnectionString("DefaultConnection");
var connection = new OracleConnection(connectionString);For more information about secure connections using SSL or SSH connections and other connections types read at our documentation.
Explore additional resources about dotConnect for Oracle: