Pomelo.EntityFrameworkCore.MySql 9.0.0-preview.3.efcore.9.0.0

This is a prerelease version of Pomelo.EntityFrameworkCore.MySql.
dotnet add package Pomelo.EntityFrameworkCore.MySql --version 9.0.0-preview.3.efcore.9.0.0                
NuGet\Install-Package Pomelo.EntityFrameworkCore.MySql -Version 9.0.0-preview.3.efcore.9.0.0                
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="Pomelo.EntityFrameworkCore.MySql" Version="9.0.0-preview.3.efcore.9.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pomelo.EntityFrameworkCore.MySql --version 9.0.0-preview.3.efcore.9.0.0                
#r "nuget: Pomelo.EntityFrameworkCore.MySql, 9.0.0-preview.3.efcore.9.0.0"                
#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 Pomelo.EntityFrameworkCore.MySql as a Cake Addin
#addin nuget:?package=Pomelo.EntityFrameworkCore.MySql&version=9.0.0-preview.3.efcore.9.0.0&prerelease

// Install Pomelo.EntityFrameworkCore.MySql as a Cake Tool
#tool nuget:?package=Pomelo.EntityFrameworkCore.MySql&version=9.0.0-preview.3.efcore.9.0.0&prerelease                

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.Json and System.Text.Json)
  • Spatial support
  • High performance

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (826)

Showing the top 5 NuGet packages that depend on Pomelo.EntityFrameworkCore.MySql:

Package Downloads
Microting.eForm

Package Description

Pomelo.EntityFrameworkCore.MySql.Design

Package Description

EFCore.BulkExtensions.MySql

EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL

Pomelo.EntityFrameworkCore.MySql.NetTopologySuite

NetTopologySuite support for Pomelo's MySQL provider for Entity Framework Core.

Util.Datas

Util.Datas是Util应用框架的数据访问类库。 Util是一个.net core平台下的应用框架,旨在提升小型团队的开发输出能力,由常用公共操作类(工具类)、分层架构基类、Ui组件,第三方组件封装,第三方业务接口封装,配套代码生成模板,权限等组成。

GitHub repositories (135)

Showing the top 5 popular GitHub repositories that depend on Pomelo.EntityFrameworkCore.MySql:

Repository Stars
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
elsa-workflows/elsa-core
A .NET workflows library
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
Version Downloads Last updated
9.0.0-preview.3.efcore.9.0.0 8,035 2/23/2025
9.0.0-preview.2.efcore.9.0.0 110,902 12/13/2024
9.0.0-preview.1 41,658 2/28/2024
8.0.3 2,841 3/2/2025
8.0.2 8,800,735 3/16/2024
8.0.1 429,826 2/28/2024
8.0.0 1,525,223 2/13/2024
8.0.0-beta.2 731,651 11/18/2023
8.0.0-beta.1 56,975 9/29/2023
7.0.0 12,038,583 1/16/2023
7.0.0-silver.1 249,714 12/14/2022
7.0.0-alpha.1 173,577 11/16/2022
6.0.3 403,555 3/16/2024
6.0.2 15,113,586 7/24/2022
6.0.1 6,617,790 1/22/2022
6.0.0 3,068,879 11/9/2021
6.0.0-rc.2 61,652 11/9/2021
6.0.0-rc.1 2,955 11/9/2021
6.0.0-preview.7 24,992 10/7/2021
6.0.0-preview.6 1,020 10/4/2021
6.0.0-preview.5 27,945 6/27/2021
6.0.0-preview.4 15,513 5/25/2021
5.0.4 1,177,732 1/22/2022 5.0.4 is deprecated because it is no longer maintained.
5.0.3 569,829 11/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 750,535 10/4/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,077,778 6/27/2021 5.0.1 is deprecated because it is no longer maintained.
5.0.0 1,952,346 4/28/2021 5.0.0 is deprecated because it is no longer maintained.
5.0.0-beta.2 5,487 4/28/2021 5.0.0-beta.2 is deprecated because it is no longer maintained.
5.0.0-beta.1 79,883 4/22/2021 5.0.0-beta.1 is deprecated because it is no longer maintained.
5.0.0-alpha.2 1,608,425 11/12/2020 5.0.0-alpha.2 is deprecated because it is no longer maintained.
5.0.0-alpha.1 79,960 11/5/2020 5.0.0-alpha.1 is deprecated because it is no longer maintained.
3.2.7 999,501 10/4/2021 3.2.7 is deprecated because it is no longer maintained.
3.2.6 510,047 6/27/2021 3.2.6 is deprecated because it is no longer maintained.
3.2.5 250,340 4/21/2021 3.2.5 is deprecated because it is no longer maintained.
3.2.4 3,004,704 11/2/2020 3.2.4 is deprecated because it is no longer maintained.
3.2.3 499,848 10/13/2020 3.2.3 is deprecated because it is no longer maintained.
3.2.2 364,330 9/30/2020 3.2.2 is deprecated because it is no longer maintained.
3.2.1 123,888 9/23/2020 3.2.1 is deprecated because it is no longer maintained.
3.2.0 275,691 9/16/2020 3.2.0 is deprecated because it is no longer maintained.
3.1.2 1,668,934 7/22/2020 3.1.2 is deprecated because it is no longer maintained.
3.1.1 4,288,472 1/29/2020 3.1.1 is deprecated because it is no longer maintained.
3.1.0 938,896 12/16/2019 3.1.0 is deprecated because it is no longer maintained.
3.1.0-rc1.final 32,042 12/6/2019 3.1.0-rc1.final is deprecated because it is no longer maintained.
3.0.1 130,495 12/4/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 250,337 11/18/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc3.final 42,131 11/7/2019 3.0.0-rc3.final is deprecated because it is no longer maintained.
3.0.0-rc2.final 6,194 11/5/2019 3.0.0-rc2.final is deprecated because it is no longer maintained.
3.0.0-rc1.final 153,884 10/6/2019 3.0.0-rc1.final is deprecated because it is no longer maintained.
2.2.6 1,701,550 10/15/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.0 4,660,011 2/7/2019 2.2.0 is deprecated because it is no longer maintained.
2.1.4 2,292,627 11/30/2018 2.1.4 is deprecated because it is no longer maintained.
2.1.2 1,235,355 9/4/2018 2.1.2 is deprecated because it is no longer maintained.
2.1.1 763,787 7/7/2018 2.1.1 is deprecated because it is no longer maintained.
2.1.0 219,335 7/11/2018 2.1.0 is deprecated because it is no longer maintained.
2.0.1 1,058,790 11/26/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0.1 66,283 10/27/2017 2.0.0.1 is deprecated because it is no longer maintained.
2.0.0 351,911 9/19/2017 2.0.0 is deprecated because it is no longer maintained.
1.1.2 358,210 5/6/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.0 61,515 11/29/2016 1.1.0 is deprecated because it is no longer maintained.
1.0.1 18,137 10/29/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 38,222 8/5/2016 1.0.0 is deprecated because it is no longer maintained.