![]() |
VOOZH | about |
dotnet add package Aiursoft.EntityFrameworkCore.MySql --version 10.0.1-servicing.1
NuGet\Install-Package Aiursoft.EntityFrameworkCore.MySql -Version 10.0.1-servicing.1
<PackageReference Include="Aiursoft.EntityFrameworkCore.MySql" Version="10.0.1-servicing.1" />
<PackageVersion Include="Aiursoft.EntityFrameworkCore.MySql" Version="10.0.1-servicing.1" />Directory.Packages.props
<PackageReference Include="Aiursoft.EntityFrameworkCore.MySql" />Project file
paket add Aiursoft.EntityFrameworkCore.MySql --version 10.0.1-servicing.1
#r "nuget: Aiursoft.EntityFrameworkCore.MySql, 10.0.1-servicing.1"
#:package Aiursoft.EntityFrameworkCore.MySql@10.0.1-servicing.1
#addin nuget:?package=Aiursoft.EntityFrameworkCore.MySql&version=10.0.1-servicing.1&prereleaseInstall as a Cake Addin
#tool nuget:?package=Aiursoft.EntityFrameworkCore.MySql&version=10.0.1-servicing.1&prereleaseInstall as a Cake Tool
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.
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()
);
}
}
Newtonsoft.Json and System.Text.Json)Pomelo.EntityFrameworkCore.MySql is released as open source under the MIT license.
Bug reports and contributions are welcome at our GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Aiursoft.EntityFrameworkCore.MySql:
| Package | Downloads |
|---|---|
|
Aiursoft.DbTools.MySql
A tool for database. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.1-servicing.1 | 3,077 | 11/15/2025 |