Devart.Data.Oracle.EF6 10.4.190

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Devart.Data.Oracle.EF6 --version 10.4.190                
NuGet\Install-Package Devart.Data.Oracle.EF6 -Version 10.4.190                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devart.Data.Oracle.EF6" Version="10.4.190" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Devart.Data.Oracle.EF6 --version 10.4.190                
#r "nuget: Devart.Data.Oracle.EF6, 10.4.190"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Devart.Data.Oracle.EF6 as a Cake Addin
#addin nuget:?package=Devart.Data.Oracle.EF6&version=10.4.190

// Install Devart.Data.Oracle.EF6 as a Cake Tool
#tool nuget:?package=Devart.Data.Oracle.EF6&version=10.4.190                

dotConnect for Oracle

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 1.0+, .NET 5+. The product is compatible with ADO.NET Entity Framework (EF) Core.

Direct Connection to Oracle

Direct Connection

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.

Visual ORM Designer

ORM Support

It also includes visual ORM designer for Entity Framework, Entity Framework Core, and LinqConnect ORM models.

More information at dotConnect for Oracle.

Compatibility


The following table show which version of this package to use with which version of frameworks.

Frameworks Version support
Entity Framework Core 8
.NET 9, 8

More information here

Installation


For projects, using Entity Framework Core 8 with Oracle, install this package. Execute the following command in the Package Manager Console:

Install-Package Devart.Data.Oracle.EFCore

For projects that require integration with Entity Framework 6.4 (EF6), use the Devart.Data.Oracle.EF6 package.

There also are Visual Studio extensions for earlier Visual Studio versions. If you use some other tool than Visual Studio, you can get NuGet packages with the nuget.exe console tool.

License

dotConnect for Oracle is available in several editions. See pricing options for ordering.

To activate your license, please download dotConnect for Oracle from our website. This installer generates the trial key files required for using this package on a trial basis.

Usage


This snippet directly configures a Oracle database connection for an Entity Framework Core DbContext using a connection string.

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     optionsBuilder.UseOracle(@"UserId=demo;Password=test;ServiceName=orcl;Server=127.0.0.1;Port=1521;");
  } 
}

Configuration Using OracleConnection Instance

using Devart.Data.Oracle;
...

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     var connection = new OracleConnection();
     connection.Direct = true;
     connection.Host = "127.0.0.1";
     connection.ServiceName = "orcl";
     connection.Port = 1521;
     connection.UserId = "demo";
     connection.Password = "test";
     optionsBuilder.UseOracle(connection);
  } 
}

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;";
ASP.NET Core and Blazor

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.

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.

Support Area

More Resources

Explore additional resources about dotConnect for Oracle:

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.4.191 63 1/15/2025
10.4.190 120 12/27/2024
10.3.104 2,097 11/8/2024
10.3.21 2,274 6/6/2024
10.3.20 138 5/30/2024
10.3.10 3,881 1/18/2024
10.2.0 1,848 11/17/2023
10.1.151 3,635 6/7/2023
10.1.134 2,825 3/4/2023
10.0.0 4,926 7/1/2022
9.16.1434 15,483 1/26/2022
9.15.1410 1,080 12/21/2021
9.14.1382 1,072 11/9/2021
9.14.1369 982 10/21/2021
9.14.1353 907 9/28/2021
9.14.1312 1,152 7/30/2021
9.14.1298 1,023 7/8/2021
9.14.1273 1,122 6/3/2021
9.14.1234 3,153 4/9/2021
9.14.1228 933 4/1/2021
9.14.1204 1,070 2/18/2021
9.14.1180 1,198 1/14/2021
9.14.1160 1,101 12/17/2020
9.14.1150 1,077 12/3/2020
9.13.1127 1,454 10/29/2020
9.13.1107 1,194 10/1/2020
9.13.1098 1,162 9/17/2020
9.12.1064 1,305 7/30/2020
9.12.1054 1,084 7/16/2020
9.11.1034 1,194 6/17/2020
9.11.980 4,154 4/2/2020
9.11.951 1,293 2/20/2020
9.10.909 2,959 12/23/2019
9.9.887 1,437 11/21/2019
9.9.872 2,535 10/31/2019
9.9.867 1,541 10/24/2019
9.8.838-preview 1,105 9/13/2019