Microting.EntityFrameworkCore.MySql
10.0.3
Prefix Reserved
dotnet add package Microting.EntityFrameworkCore.MySql --version 10.0.3
NuGet\Install-Package Microting.EntityFrameworkCore.MySql -Version 10.0.3
<PackageReference Include="Microting.EntityFrameworkCore.MySql" Version="10.0.3" />
<PackageVersion Include="Microting.EntityFrameworkCore.MySql" Version="10.0.3" />
<PackageReference Include="Microting.EntityFrameworkCore.MySql" />
paket add Microting.EntityFrameworkCore.MySql --version 10.0.3
#r "nuget: Microting.EntityFrameworkCore.MySql, 10.0.3"
#:package Microting.EntityFrameworkCore.MySql@10.0.3
#addin nuget:?package=Microting.EntityFrameworkCore.MySql&version=10.0.3
#tool nuget:?package=Microting.EntityFrameworkCore.MySql&version=10.0.3
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.
DISCLAIMER!!!
This is a fast moving version of Pomelo.EntityFrameworkCore.MySql intented to follow .net release cycle closely! There are no intentions for this package to implement new features. Feature requests needs to be directed at the originating Github repository
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
Checkout the originating Github repository before filing any new issues.
Bug reports and contributions are welcome at our GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.3 && <= 10.0.999)
- MySqlConnector (>= 2.5.0)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Microting.EntityFrameworkCore.MySql:
| Package | Downloads |
|---|---|
|
Microting.eForm
Package Description |
|
|
HZY.Framework.Repository.EntityFramework
EFCore、Repositories 、SqlServer、MySql、PgSql 、Oracel 、FreeSql 1、动态表名查询 2、监控EFCore 连接、事务、Sql、Sql耗时等统计信息 3、仓储多租户 查询过滤 4、批量数据拷贝 目前支持 mysql 和 sqlserver 5、Sql 字符串查询 6、仓储具有基本的 CRUD 目前框架使用案例:https://gitee.com/hzy6/HzyAdmin |
|
|
ChemicalsBase
Package Description |
|
|
Substratum
Package Description |
|
|
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 | 7,231 | 2/16/2026 |
| 10.0.3-rc.1 | 2,251 | 2/11/2026 |
| 10.0.2-rc.1 | 1,886 | 2/9/2026 |
| 10.0.2-preview.1 | 7,414 | 1/16/2026 |
| 10.0.0-preview.3 | 4,085 | 1/5/2026 |
| 10.0.0-preview.2 | 890 | 1/2/2026 |
| 10.0.0-preview.1 | 1,624 | 12/29/2025 |
| 9.0.8 | 42,790 | 8/5/2025 |
| 9.0.0 | 305 | 8/4/2025 |