Pomelo.EntityFrameworkCore.MySql 8.0.0-beta.1

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
Quantum.Framework.Core.StandardLib
Package Description
50
Quantum.Framework.Core.StandardLib
Package Description
51
Quantum.Framework.Core.StandardLib
Package Description
52
Quantum.Framework.Core.StandardLib
Package Description
53
Quantum.Framework.Core.StandardLib
Package Description
55
Quantum.Framework.Core.StandardLib
Package Description
57
Quantum.Framework.Core.StandardLib
Package Description
58
Quantum.Framework.Core.StandardLib
Package Description
62
Quantum.Framework.Core.StandardLib
Package Description
64
Quantum.Framework.Core.StandardLib
Package Description
74
Quantum.Framework.Core.StandardLib
Package Description
77
Quantum.Framework.Core.StandardLib
Package Description
114
Quantum.Framework.Core.StandardLib
Package Description
153
Quantum.Framework.Core.StandardLib
Package Description
159
Quantum.Framework.Core.StandardLib
Package Description
167

.NET 8.0

Version Downloads Last updated
9.0.0-preview.1 14 04/21/2024
8.0.2 336 04/22/2024
8.0.1 10 04/23/2024
8.0.0 7 04/25/2024
8.0.0-beta.2 10 04/22/2024
8.0.0-beta.1 8 04/22/2024
7.0.0 113 12/06/2023
7.0.0-silver.1 6 04/24/2024
7.0.0-alpha.1 5 05/10/2024
6.0.3 6 04/23/2024
6.0.2 107 10/28/2022
6.0.0-rc.2 9 04/22/2024
6.0.0-rc.1 5 04/22/2024
6.0.0-preview.7 8 06/10/2022
6.0.0-preview.6 9 04/22/2024
5.0.2 5 04/22/2024
5.0.1 15 07/15/2022
5.0.0-beta.2 6 04/22/2024
5.0.0-beta.1 5 05/06/2024
5.0.0-alpha.1 5 05/23/2024
3.2.6 8 06/10/2022
3.2.2 8 06/10/2022
3.1.0 9 06/10/2022
3.1.0-rc1.final 4 05/06/2024
3.0.0 7 06/10/2022
3.0.0-rc3.final 10 04/22/2024
3.0.0-rc2.final 6 04/22/2024
3.0.0-rc1.final 7 04/22/2024
2.2.0 5 05/02/2024
2.1.4 6 04/23/2024
2.1.0 5 04/22/2024
2.0.1 10 06/10/2022
1.1.0 6 06/10/2022
1.0.1 5 05/17/2024