Devart.Data.MySql.EFCore 9.3.105.8

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Devart.Data.MySql.EFCore --version 9.3.105.8
                    
NuGet\Install-Package Devart.Data.MySql.EFCore -Version 9.3.105.8
                    
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.MySql.EFCore" Version="9.3.105.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devart.Data.MySql.EFCore" Version="9.3.105.8" />
                    
Directory.Packages.props
<PackageReference Include="Devart.Data.MySql.EFCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Devart.Data.MySql.EFCore --version 9.3.105.8
                    
#r "nuget: Devart.Data.MySql.EFCore, 9.3.105.8"
                    
#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.
#:package Devart.Data.MySql.EFCore@9.3.105.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Devart.Data.MySql.EFCore&version=9.3.105.8
                    
Install as a Cake Addin
#tool nuget:?package=Devart.Data.MySql.EFCore&version=9.3.105.8
                    
Install as a Cake Tool

dotConnect for MySQL

dotConnect for MySQL is a high-performance ORM enabled data provider for MySQL 8.0+ including Embedded servers (starting with 4.1), MariaDB, Amazon RDS, Amazon Aurora, Azure MySQL, Percona that builds on ADO.NET technology.

The provider works with .NET Frameworks 4.6+, .NET Core 1.0+, .NET 5+. The product is compatible with ADO.NET Entity Framework v1 - v6 and Entity Framework (EF) Core 8+.

It supports a wide range of MySQL-specific features, such as secure SSL and SSH connections, compression protocol, HTTP tunneling and others.

More information at dotConnect for MySQL.

Installation


For projects, using Entity Framework Core 1, 3, 5, 6, 7, 8 with MySQL, install this package. Execute the following command in the Package Manager Console:

Install-Package Devart.Data.MySql.EFCore

For projects, using Entity Framework Core 1.1, for which you use database-first approach and generate an Entity Framework Core mapping via the Scaffold-DbContext command of Package Manager Console, you need to install the Devart.Data.MySql.EFCore.Design package.

For projects that require integration with Entity Framework 6.4 (EF6), use the Devart.Data.MySql.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.

To activate your license, please download dotConnect for MySQL from our website. The Professional editions of dotConnect for MySQL include Entity Developer, a comprehensive visual ORM designer, enhancing the development experience with intuitive design and management of ORM models.

Compatibility


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

Frameworks Version support
Entity Framework Core 8, 7, 6, 5, 3, 2, 1
.NET 8, 7, 6, 5
.NET Core 3, 2, 1
.NET Framework 4.8, 4.7, 4.6

More information here

Usage


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

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

     optionsBuilder.UseMySql(@"User Id=root;Password=mypassword;Host=127.0.0.1;Port=3306;");
  } 
}

Configuration Using MySqlConnection Instance

using Devart.Data.MySql;
...

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

     var connection = new MySqlConnection();
     connection.Host = "127.0.0.1";
     connection.Port = 3306;
     connection.UserId = "root";
     connection.Password = "mypassword";
     optionsBuilder.UseMySql(connection);
  } 
}
ASP.NET Core and Blazor

Configuration File (appsettings.json):

{
  "ConnectionStrings": {
    "DefaultConnection": "User Id=root;Password=mypassword;Host=127.0.0.1;Port=3306;"
   }
}

DbContext Configuration:

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

    IConfigurationBuilder builder = new ConfigurationBuilder().AddJsonFile("appsettings.json");
    IConfiguration configuration = builder.Build();
    optionsBuilder.UseMySql(configuration.GetConnectionString("DefaultConnection"));
  } 
}

For more information about secure connections using SSL or SSH connections read at out documentation.

Key Features

  • Direct Mode: Allows your application to work with MySQL directly, without involving MySQL client library.
  • ASP.NET Core: Supports ASP.NET Core Identity.
  • Performance: Uses many MySQL-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.

License

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

Support Area

Documentation Request form Feedback page Product history

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Devart.Data.MySql.EFCore:

Package Downloads
Devart.Data.MySql.EFCore.Design

dotConnect for MySQL is a high-performance ORM enabled data provider for MySQL 8.0+ including Embedded servers (starting with 4.1), MariaDB, Amazon RDS, Amazon Aurora, Azure MySQL, Percona 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 MySQL-specific features, such as secure SSL and SSH connections, compression protocol, HTTP tunneling and others. Package provides advanced Visual Studio integration and convenient visual component editors to simplify component tweaking. More information at https://www.devart.com/dotconnect/mysql/ License dotConnect for MySQL is available in several editions https://www.devart.com/dotconnect/mysql/ordering.html The NuGet package initiates a 30-day free trial automatically, so no additional action is required. Key Features * Direct Mode: Allows your application to work with MySQL directly, without involving MySQL client library. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many MySQL-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.

Devart.Data.MySql.EFCore.NetTopologySuite

dotConnect for MySQL is a high-performance ORM enabled data provider for MySQL 8.0+ including Embedded servers (starting with 4.1), MariaDB, Amazon RDS, Amazon Aurora, Azure MySQL, Percona 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 MySQL-specific features, such as secure SSL and SSH connections, compression protocol, HTTP tunneling and others. Package provides advanced Visual Studio integration and convenient visual component editors to simplify component tweaking. More information at https://www.devart.com/dotconnect/mysql/ License dotConnect for MySQL is available in several editions https://www.devart.com/dotconnect/mysql/ordering.html 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. Key Features * Direct Mode: Allows your application to work with MySQL directly, without involving MySQL client library. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many MySQL-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.

BizDoc.Core.MySql

MySql storage for BizDoc

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0.9 1,939 12/19/2025
10.0.0.8 1,397 12/19/2025
10.0.0.7 1,311 12/19/2025
10.0.0 1,336 12/19/2025
9.4.290.9 4,521 7/30/2025
9.4.290.8 2,215 7/30/2025
9.4.290.7 2,214 7/30/2025
9.4.290 2,394 7/30/2025
9.4.235.9 3,705 4/25/2025
9.4.235.8 2,312 4/25/2025
9.4.235.7 2,287 4/25/2025
9.4.235 2,438 4/25/2025
9.4.193.9 4,644 2/11/2025
9.4.193.8 2,600 2/11/2025
9.4.193.7 2,302 2/11/2025
9.4.193 2,432 2/11/2025
9.4.191.9 2,408 1/15/2025
9.4.191.8 2,247 1/15/2025
9.4.191.7 2,257 1/15/2025
9.4.191 2,357 1/15/2025
9.4.190.9 2,353 12/27/2024
9.4.190.8 2,260 12/27/2024
9.4.190.7 2,286 12/27/2024
9.4.190 2,397 12/27/2024
9.3.105.8 2,989 11/13/2024
9.3.105.7 2,280 11/13/2024
9.3.105 2,405 11/13/2024
9.3.104.8 2,346 11/8/2024
9.3.104.7 2,299 11/8/2024
9.3.104 2,388 11/8/2024
9.3.21.8 7,514 6/6/2024
9.3.21.7 2,340 6/6/2024
9.3.21 2,521 6/6/2024
9.3.20.8 2,674 5/30/2024
9.3.20.7 2,322 5/30/2024
9.3.20 2,460 5/30/2024
9.3.10.8 4,331 1/18/2024
9.3.10.7 3,192 1/18/2024
9.3.10 3,157 1/18/2024
9.2.0.7 10,489 11/17/2023
9.2.0 3,858 11/17/2023
9.1.151.7 8,341 6/7/2023
9.1.151 4,349 6/7/2023
9.1.134.7 9,876 3/4/2023
9.1.134 4,551 3/4/2023
9.0.0 185,464 7/1/2022
8.21.2066 29,519 1/26/2022
8.20.2042 65,815 12/21/2021
8.19.2014 7,085 11/9/2021
8.19.2001 5,409 10/21/2021
8.19.1985 5,973 9/28/2021
8.19.1944 5,116 7/30/2021
8.19.1930 4,977 7/8/2021
8.19.1905 25,047 6/3/2021
8.19.1866 6,877 4/9/2021
8.19.1860 4,691 4/1/2021
8.19.1836 4,999 2/18/2021
8.19.1812 5,111 1/14/2021
8.19.1792 4,935 12/17/2020
8.19.1782 4,847 12/3/2020
8.18.1759 166,151 10/29/2020
8.18.1739 6,643 10/1/2020
8.18.1730 6,814 9/17/2020
8.17.1696 6,910 7/30/2020
8.17.1686 7,748 7/16/2020
8.17.1666 6,382 6/17/2020
8.17.1612 24,526 4/2/2020
8.17.1583 24,776 2/20/2020
8.16.1541 5,342 12/23/2019
8.15.1519 138,012 11/21/2019
8.15.1504 6,233 10/31/2019
8.15.1499 4,597 10/24/2019
8.14.1470 5,657 9/13/2019
8.13.1437 5,988 7/25/2019
8.13.1422 5,110 7/4/2019
8.13.1402 5,229 6/6/2019
8.13.1366 30,124 4/12/2019
8.12.1357 6,294 3/28/2019
8.12.1328 5,407 2/14/2019
8.12.1307 12,387 1/10/2019
8.12.1278 6,336 11/29/2018
8.12.1253 5,987 10/25/2018
8.12.1229 11,051 9/20/2018
8.12.1216 5,380 8/31/2018
8.12.1202 7,554 8/10/2018
8.12.1190 7,136 7/19/2018
8.11.1172 6,187 6/22/2018
8.10.1152 5,773 5/25/2018
8.10.1134 5,865 4/27/2018
8.10.1115 6,054 3/30/2018
8.10.1086 6,035 2/15/2018
8.10.1061 5,612 1/11/2018
8.10.1031 5,296 11/23/2017
8.10.1013 5,238 10/30/2017
8.9.980 6,184 9/7/2017
8.9.958 5,654 8/4/2017
8.9.946 5,514 7/14/2017
8.9.931 5,371 6/23/2017
8.9.912 5,590 5/25/2017