Pomelo.EntityFrameworkCore.MySql 8.0.0-beta.2

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 .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
2
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
1

Version Downloads Last updated
9.0.0-preview.1 0 02/28/2024
8.0.2 0 03/16/2024
8.0.1 0 02/28/2024
8.0.0 0 02/13/2024
8.0.0-beta.2 1 04/22/2024
8.0.0-beta.1 0 09/29/2023
7.0.0 2 02/02/2023
7.0.0-silver.1 0 12/14/2022
7.0.0-alpha.1 0 11/16/2022
6.0.3 0 03/16/2024
6.0.2 1 12/11/2022
6.0.1 0 01/22/2022
6.0.0 0 11/09/2021
6.0.0-rc.2 0 11/09/2021
6.0.0-rc.1 0 11/09/2021
6.0.0-preview.7 0 10/07/2021
6.0.0-preview.6 0 10/04/2021
6.0.0-preview.5 0 06/27/2021
6.0.0-preview.4 0 05/25/2021
5.0.4 0 01/22/2022
5.0.3 0 11/09/2021
5.0.2 0 10/04/2021
5.0.1 0 06/27/2021
5.0.0 0 04/28/2021
5.0.0-beta.2 0 04/28/2021
5.0.0-beta.1 0 04/22/2021
5.0.0-alpha.2 0 11/12/2020
5.0.0-alpha.1 0 11/05/2020
3.2.7 0 10/04/2021
3.2.6 0 06/27/2021
3.2.5 0 04/21/2021
3.2.4 0 11/02/2020
3.2.3 0 10/13/2020
3.2.2 0 09/30/2020
3.2.1 0 09/23/2020
3.2.0 0 09/16/2020
3.1.2 0 07/22/2020
3.1.1 0 01/29/2020
3.1.0 0 12/16/2019
3.1.0-rc1.final 0 12/06/2019
3.0.1 0 12/04/2019
3.0.0 0 11/18/2019
3.0.0-rc3.final 0 11/07/2019
3.0.0-rc2.final 0 11/05/2019
3.0.0-rc1.final 0 10/06/2019
2.2.6 0 10/15/2019
2.2.0 0 02/07/2019
2.1.4 0 11/30/2018
2.1.2 0 09/04/2018
2.1.1 0 07/07/2018
2.1.0 0 07/11/2018
2.0.1 0 11/26/2017
2.0.0.1 0 10/27/2017
2.0.0 0 09/19/2017
1.1.2 0 05/06/2017
1.1.0 0 11/29/2016
1.0.1 0 10/29/2016
1.0.0 0 08/05/2016