Pomelo.EntityFrameworkCore.MySql 9.0.0-rc.1.efcore.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.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.

Showing the top 20 packages that depend on Pomelo.EntityFrameworkCore.MySql.

Packages Downloads
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
36
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
36
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
34
EFCore.BulkExtensions.MySql
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
34
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
33
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
33
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
32
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
32
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
32
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, SQLite
31
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
31
EFCore.BulkExtensions.MySql
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
31
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
31
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
30
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
30

.NET 8.0

Version Downloads Last updated
9.0.0 16 08/20/2025
9.0.0-rc.1.efcore.9.0.0 15 07/30/2025
9.0.0-preview.3.efcore.9.0.0 31 04/11/2025
9.0.0-preview.2.efcore.9.0.0 24 04/15/2025
9.0.0-preview.1 29 04/11/2025
8.0.3 29 04/11/2025
8.0.2 26 04/12/2025
8.0.1 26 04/19/2025
8.0.0 25 04/12/2025
8.0.0-beta.2 25 04/13/2025
8.0.0-beta.1 24 04/12/2025
7.0.0 26 04/15/2025
7.0.0-silver.1 21 04/22/2025
7.0.0-alpha.1 23 04/22/2025
6.0.3 25 04/12/2025
6.0.2 22 04/22/2025
6.0.1 26 04/19/2025
6.0.0 21 04/23/2025
6.0.0-rc.2 21 04/22/2025
6.0.0-rc.1 23 04/11/2025
6.0.0-preview.7 23 04/11/2025
6.0.0-preview.6 23 04/11/2025
6.0.0-preview.5 24 04/11/2025
6.0.0-preview.4 31 04/11/2025
5.0.4 21 04/20/2025
5.0.3 25 04/19/2025
5.0.2 27 04/12/2025
5.0.1 24 04/11/2025
5.0.0 24 04/12/2025
5.0.0-beta.2 26 04/12/2025
5.0.0-beta.1 22 04/12/2025
5.0.0-alpha.2 23 04/22/2025
5.0.0-alpha.1 25 04/12/2025
3.2.7 23 04/12/2025
3.2.6 25 04/15/2025
3.2.5 27 04/11/2025
3.2.4 31 04/12/2025
3.2.3 25 04/11/2025
3.2.2 26 04/22/2025
3.2.1 21 04/22/2025
3.2.0 25 04/11/2025
3.1.2 25 04/11/2025
3.1.1 25 04/02/2025
3.1.0 24 04/19/2025
3.1.0-rc1.final 24 04/13/2025
3.0.1 20 04/22/2025
3.0.0 26 04/20/2025
3.0.0-rc3.final 23 04/22/2025
3.0.0-rc2.final 24 04/11/2025
3.0.0-rc1.final 20 04/22/2025
2.2.6 25 04/12/2025
2.2.0 25 04/12/2025
2.1.4 31 04/15/2025
2.1.2 22 04/12/2025
2.1.1 25 04/15/2025
2.1.0 22 04/19/2025
2.0.1 27 04/22/2025
2.0.0.1 28 04/23/2025
2.0.0 22 04/12/2025
1.1.2 24 04/19/2025
1.1.0 23 04/22/2025
1.0.1 26 04/12/2025
1.0.0 25 04/11/2025