Microting.EntityFrameworkCore.MySql 9.0.8

Prefix Reserved
dotnet add package Microting.EntityFrameworkCore.MySql --version 9.0.8
                    
NuGet\Install-Package Microting.EntityFrameworkCore.MySql -Version 9.0.8
                    
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="Microting.EntityFrameworkCore.MySql" Version="9.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microting.EntityFrameworkCore.MySql" Version="9.0.8" />
                    
Directory.Packages.props
<PackageReference Include="Microting.EntityFrameworkCore.MySql" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microting.EntityFrameworkCore.MySql --version 9.0.8
                    
#r "nuget: Microting.EntityFrameworkCore.MySql, 9.0.8"
                    
#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.
#:package Microting.EntityFrameworkCore.MySql@9.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microting.EntityFrameworkCore.MySql&version=9.0.8
                    
Install as a Cake Addin
#tool nuget:?package=Microting.EntityFrameworkCore.MySql&version=9.0.8
                    
Install as a Cake Tool

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

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 Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Microting.EntityFrameworkCore.MySql:

Package Downloads
Microting.eForm

Package Description

Microting.EntityFrameworkCore.MySql.NetTopologySuite

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

Microting.EntityFrameworkCore.MySql.Json.Newtonsoft

JSON support using Newtonsoft.Json (JSON.NET) for Pomelo's MySQL provider for Entity Framework Core.

Microting.EntityFrameworkCore.MySql.Json.Microsoft

JSON support using System.Text.Json 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
9.0.8 5,572 8/5/2025
9.0.0 200 8/4/2025