Pomelo.EntityFrameworkCore.MySql 9.0.0-preview.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
andSystem.Text.Json
) - Spatial support
- High performance
Related Packages
- JSON support
- Spatial support
- Other Packages
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.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
|
22 |
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
10 |
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
9 |
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
8 |
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
7 |
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
7 |
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
|
6 |
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
6 |
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
6 |
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, SQLite
|
6 |
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
5 |
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
|
5 |
.NET 8.0
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.0-preview.1.24081.2 && <= 9.0.0-preview.1.999999)
- MySqlConnector (>= 2.3.5)
Version | Downloads | Last updated |
---|---|---|
9.0.0-preview.1 | 5 | 06/25/2024 |
8.0.2 | 20 | 06/24/2024 |
8.0.1 | 4 | 06/24/2024 |
8.0.0 | 5 | 06/24/2024 |
8.0.0-beta.2 | 3 | 06/26/2024 |
8.0.0-beta.1 | 3 | 07/04/2024 |
7.0.0 | 20 | 06/20/2024 |
7.0.0-silver.1 | 3 | 06/25/2024 |
7.0.0-alpha.1 | 3 | 06/26/2024 |
6.0.3 | 5 | 06/24/2024 |
6.0.2 | 5 | 06/24/2024 |
6.0.1 | 3 | 06/24/2024 |
6.0.0 | 4 | 06/24/2024 |
6.0.0-rc.2 | 4 | 06/24/2024 |
6.0.0-rc.1 | 5 | 06/24/2024 |
6.0.0-preview.7 | 2 | 06/26/2024 |
6.0.0-preview.6 | 2 | 06/25/2024 |
6.0.0-preview.5 | 2 | 06/26/2024 |
6.0.0-preview.4 | 4 | 06/26/2024 |
5.0.4 | 2 | 06/24/2024 |
5.0.3 | 3 | 06/24/2024 |
5.0.2 | 4 | 06/24/2024 |
5.0.1 | 5 | 06/24/2024 |
5.0.0 | 3 | 06/24/2024 |
5.0.0-beta.2 | 2 | 06/25/2024 |
5.0.0-beta.1 | 3 | 06/26/2024 |
5.0.0-alpha.2 | 5 | 06/25/2024 |
5.0.0-alpha.1 | 3 | 06/25/2024 |
3.2.7 | 1 | 06/24/2024 |
3.2.6 | 4 | 06/24/2024 |
3.2.5 | 3 | 06/24/2024 |
3.2.4 | 3 | 06/24/2024 |
3.2.3 | 4 | 06/24/2024 |
3.2.2 | 6 | 06/22/2024 |
3.2.1 | 4 | 06/24/2024 |
3.2.0 | 6 | 06/24/2024 |
3.1.2 | 3 | 06/24/2024 |
3.1.1 | 5 | 06/24/2024 |
3.1.0 | 4 | 06/24/2024 |
3.1.0-rc1.final | 5 | 06/25/2024 |
3.0.1 | 4 | 06/24/2024 |
3.0.0 | 2 | 06/24/2024 |
3.0.0-rc3.final | 2 | 06/25/2024 |
3.0.0-rc2.final | 3 | 06/27/2024 |
3.0.0-rc1.final | 3 | 06/25/2024 |
2.2.6 | 2 | 06/24/2024 |
2.2.0 | 4 | 06/24/2024 |
2.1.4 | 3 | 06/24/2024 |
2.1.2 | 6 | 06/24/2024 |
2.1.1 | 6 | 06/24/2024 |
2.1.0 | 3 | 06/24/2024 |
2.0.1 | 2 | 06/24/2024 |
2.0.0.1 | 6 | 06/24/2024 |
2.0.0 | 6 | 06/25/2024 |
1.1.2 | 6 | 06/21/2024 |
1.1.0 | 3 | 06/24/2024 |
1.0.1 | 3 | 06/25/2024 |
1.0.0 | 3 | 06/24/2024 |