Microting.EntityFrameworkCore.MySql
9.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Microting.EntityFrameworkCore.MySql --version 9.0.0
NuGet\Install-Package Microting.EntityFrameworkCore.MySql -Version 9.0.0
<PackageReference Include="Microting.EntityFrameworkCore.MySql" Version="9.0.0" />
<PackageVersion Include="Microting.EntityFrameworkCore.MySql" Version="9.0.0" />
<PackageReference Include="Microting.EntityFrameworkCore.MySql" />
paket add Microting.EntityFrameworkCore.MySql --version 9.0.0
#r "nuget: Microting.EntityFrameworkCore.MySql, 9.0.0"
#:package Microting.EntityFrameworkCore.MySql@9.0.0
#addin nuget:?package=Microting.EntityFrameworkCore.MySql&version=9.0.0
#tool nuget:?package=Microting.EntityFrameworkCore.MySql&version=9.0.0
About
Pomelo.EntityFrameworkCore.MySql is the Entity Framework Core (EF Core) provider for MySQL, MariaDB, Amazon Aurora, Azure Database for MySQL and other MySQL-compatible databases.
It is build on top of MySqlConnector.
How to Use
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
// Replace with your connection string.
var connectionString = "server=localhost;user=root;password=1234;database=ef";
// Replace with your server version and type.
// Use 'MariaDbServerVersion' for MariaDB.
// Alternatively, use 'ServerVersion.AutoDetect(connectionString)'.
// For common usages, see pull request #1233.
var serverVersion = new MySqlServerVersion(new Version(8, 0, 29));
// Replace 'YourDbContext' with the name of your own DbContext derived class.
services.AddDbContext<YourDbContext>(
dbContextOptions => dbContextOptions
.UseMySql(connectionString, serverVersion)
// The following three options help with debugging, but should
// be changed or removed for production.
.LogTo(Console.WriteLine, LogLevel.Information)
.EnableSensitiveDataLogging()
.EnableDetailedErrors()
);
}
}
Key Features
- JSON support (both
Newtonsoft.JsonandSystem.Text.Json) - Spatial support
- High performance
Related Packages
- JSON support
- Spatial support
- Other Packages
License
Pomelo.EntityFrameworkCore.MySql is released as open source under the MIT license.
Feedback
Bug reports and contributions are welcome at our GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
-
net9.0
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.7 && <= 9.0.999)
- MySqlConnector (>= 2.4.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Microting.EntityFrameworkCore.MySql:
| Package | Downloads |
|---|---|
|
Microting.eForm
Package Description |
|
|
ChemicalsBase
Package Description |
|
|
Microting.EntityFrameworkCore.MySql.Json.Microsoft
JSON support using System.Text.Json for Pomelo's MySQL provider for Entity Framework Core. |
|
|
Microting.EntityFrameworkCore.MySql.NetTopologySuite
NetTopologySuite support for Pomelo's MySQL provider for Entity Framework Core. |
|
|
Microting.EntityFrameworkCore.MySql.Json.Newtonsoft
JSON support using Newtonsoft.Json (JSON.NET) for Pomelo's MySQL provider for Entity Framework Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.3-rc.1 | 399 | 2/11/2026 |
| 10.0.2-rc.1 | 1,297 | 2/9/2026 |
| 10.0.2-preview.1 | 7,352 | 1/16/2026 |
| 10.0.0-preview.3 | 3,618 | 1/5/2026 |
| 10.0.0-preview.2 | 828 | 1/2/2026 |
| 10.0.0-preview.1 | 1,622 | 12/29/2025 |
| 9.0.8 | 42,739 | 8/5/2025 |
| 9.0.0 | 290 | 8/4/2025 |