Devart.Data.MySql.EFCore
9.4.190.9
Prefix Reserved
dotnet add package Devart.Data.MySql.EFCore --version 9.4.190.9
NuGet\Install-Package Devart.Data.MySql.EFCore -Version 9.4.190.9
<PackageReference Include="Devart.Data.MySql.EFCore" Version="9.4.190.9" />
paket add Devart.Data.MySql.EFCore --version 9.4.190.9
#r "nuget: Devart.Data.MySql.EFCore, 9.4.190.9"
// Install Devart.Data.MySql.EFCore as a Cake Addin #addin nuget:?package=Devart.Data.MySql.EFCore&version=9.4.190.9 // Install Devart.Data.MySql.EFCore as a Cake Tool #tool nuget:?package=Devart.Data.MySql.EFCore&version=9.4.190.9
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 2.0+, .NET Core 1.0+, .NET 5+. The product is compatible with ADO.NET Entity Framework and Entity Framework (EF) Core.
It supports a wide range of MySQL-specific features, such as secure SSL and SSH connections, compression protocol, HTTP tunneling and others.
It also includes visual ORM designer for Entity Framework, Entity Framework Core, and LinqConnect ORM models.
More information at dotConnect for MySQL.
Installation
For projects, using Entity Framework Core 9 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.
License
dotConnect for MySQL is available in several editions. See pricing options for ordering.
To activate your license, please download dotConnect for MySQL from our website. This installer generates the trial key files required for using this package on a trial basis.
Compatibility
The following table show which version of this package to use with which version of frameworks.
Frameworks | Version support |
---|---|
Entity Framework Core | 9 |
.NET | 9, 8 |
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": "Host=127.0.0.1;UserId=root;Password=mypassword;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.
- Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.
Related Packages
Support Area
Product | Versions 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. |
-
net8.0
- Devart.Data.MySql (>= 9.4.190)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.0 && < 10.0.0)
NuGet packages (4)
Showing the top 4 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 To activate your license, please download dotConnect for MySQL from our website https://www.devart.com/dotconnect/mysql/download.html This installer generates the trial key files required for using this package on a trial basis. 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 To activate your license, please download dotConnect for MySQL from our website https://www.devart.com/dotconnect/mysql/download.html This installer generates the trial key files required for using this package on a trial basis. 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 |
|
BizDoc.Storage.MySql
MySql storage for BizDoc |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.4.190.9 | 121 | 12/27/2024 |
9.4.190.8 | 95 | 12/27/2024 |
9.4.190.7 | 96 | 12/27/2024 |
9.4.190 | 153 | 12/27/2024 |
9.3.105.8 | 263 | 11/13/2024 |
9.3.105.7 | 105 | 11/13/2024 |
9.3.105 | 175 | 11/13/2024 |
9.3.104.8 | 128 | 11/8/2024 |
9.3.104.7 | 109 | 11/8/2024 |
9.3.104 | 171 | 11/8/2024 |
9.3.21.8 | 2,091 | 6/6/2024 |
9.3.21.7 | 146 | 6/6/2024 |
9.3.21 | 275 | 6/6/2024 |
9.3.20.8 | 434 | 5/30/2024 |
9.3.20.7 | 147 | 5/30/2024 |
9.3.20 | 238 | 5/30/2024 |
9.3.10.8 | 1,869 | 1/18/2024 |
9.3.10.7 | 1,023 | 1/18/2024 |
9.3.10 | 951 | 1/18/2024 |
9.2.0.7 | 3,828 | 11/17/2023 |
9.2.0 | 1,600 | 11/17/2023 |
9.1.151.7 | 4,889 | 6/7/2023 |
9.1.151 | 1,847 | 6/7/2023 |
9.1.134.7 | 4,748 | 3/4/2023 |
9.1.134 | 2,237 | 3/4/2023 |
9.0.0 | 122,674 | 7/1/2022 |
8.21.2066 | 26,557 | 1/26/2022 |
8.20.2042 | 60,469 | 12/21/2021 |
8.19.2014 | 4,751 | 11/9/2021 |
8.19.2001 | 3,122 | 10/21/2021 |
8.19.1985 | 3,697 | 9/28/2021 |
8.19.1944 | 2,860 | 7/30/2021 |
8.19.1930 | 2,717 | 7/8/2021 |
8.19.1905 | 22,743 | 6/3/2021 |
8.19.1866 | 4,581 | 4/9/2021 |
8.19.1860 | 2,419 | 4/1/2021 |
8.19.1836 | 2,722 | 2/18/2021 |
8.19.1812 | 2,836 | 1/14/2021 |
8.19.1792 | 2,652 | 12/17/2020 |
8.19.1782 | 2,572 | 12/3/2020 |
8.18.1759 | 128,603 | 10/29/2020 |
8.18.1739 | 4,342 | 10/1/2020 |
8.18.1730 | 4,525 | 9/17/2020 |
8.17.1696 | 4,587 | 7/30/2020 |
8.17.1686 | 5,490 | 7/16/2020 |
8.17.1666 | 4,093 | 6/17/2020 |
8.17.1612 | 22,179 | 4/2/2020 |
8.17.1583 | 22,462 | 2/20/2020 |
8.16.1541 | 3,064 | 12/23/2019 |
8.15.1519 | 103,420 | 11/21/2019 |
8.15.1504 | 3,960 | 10/31/2019 |
8.15.1499 | 2,322 | 10/24/2019 |
8.14.1470 | 3,367 | 9/13/2019 |
8.13.1437 | 3,687 | 7/25/2019 |
8.13.1422 | 2,811 | 7/4/2019 |
8.13.1402 | 2,915 | 6/6/2019 |
8.13.1366 | 26,494 | 4/12/2019 |
8.12.1357 | 4,010 | 3/28/2019 |
8.12.1328 | 3,112 | 2/14/2019 |
8.12.1307 | 10,097 | 1/10/2019 |
8.12.1278 | 4,035 | 11/29/2018 |
8.12.1253 | 3,652 | 10/25/2018 |
8.12.1229 | 8,711 | 9/20/2018 |
8.12.1216 | 3,054 | 8/31/2018 |
8.12.1202 | 5,211 | 8/10/2018 |
8.12.1190 | 4,706 | 7/19/2018 |
8.11.1172 | 3,576 | 6/22/2018 |
8.10.1152 | 3,315 | 5/25/2018 |
8.10.1134 | 3,281 | 4/27/2018 |
8.10.1115 | 3,333 | 3/30/2018 |
8.10.1086 | 3,414 | 2/15/2018 |
8.10.1061 | 3,000 | 1/11/2018 |
8.10.1031 | 2,825 | 11/23/2017 |
8.10.1013 | 2,792 | 10/30/2017 |
8.9.980 | 3,707 | 9/7/2017 |
8.9.958 | 3,208 | 8/4/2017 |
8.9.946 | 3,011 | 7/14/2017 |
8.9.931 | 2,904 | 6/23/2017 |
8.9.912 | 2,985 | 5/25/2017 |