Pomelo.EntityFrameworkCore.MySql
Pomelo.EntityFrameworkCore.MySql copied to clipboard
Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
### Steps to reproduce - Have already a migration - Try to add another one by just using Package Manager Console command => **Add-Migration Test** - Or try to add...
### Steps to reproduce The LINQ expression 'DbSet() .Where(o => o.ScoringDate.Date > DateTime.Now.AddDays(-61).Date) .GroupBy(o => o.ServiceId)' could not be translated. ### The issue I recently upgraded my project from .NET...
To stay aligned with common practices, we should name the default branch `main`.
Migration bundles does not work in the context of MySQL database and CICD pipeline in Github Action
## File a bug I was following this [document](https://learn.microsoft.com/en-us/azure/app-service/tutorial-dotnetcore-sqldb-app?bc=%2Fazure%2Fservice-connector%2Fbreadcrumb%2Ftoc.json&toc=%2Fazure%2Fservice-connector%2FTOC.json) to deploy an app service with MySQL DB, the sample it uses is SQL Server code first and run the below...
The `ServerVersionSupport` derived classes of `MySqlServerVersionSupport` and `MariaDbServerVersionSupport` are heavily used internally to determine which features are available and what syntax to use for them. We current do not check...
### Steps to reproduce ``` public class OrderContext : DbContext { public DbSet Orders { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { var connectionString = ""; optionsBuilder.UseMySql(ServerVersion.AutoDetect(connectionString), options...
Good afternoon! MySQL version: MariaDB 11.2.1 Operating system: Windows Server 2019 Datacenter Pomelo.EntityFrameworkCore.MySql version: 7.0.0 (01/17/2023) Microsoft.EntityFrameworkCore.Tools version: 7.0.11 (12.09.2023) I am using MariaDB 11.2.1 (MySQL) database server and Pomelo.EntityFrameworkCore.MySql...
I'm trying to write the UNION query with IEnumerable.Concat() and use SQLite provider to test it. Consider the following entity: ``` public class Blog { public int Id { get;...
### Steps to reproduce ``` services.AddPooledDbContextFactory(opt => { opt.UseMySql(AppSettings.Sql.ConnectionString, new MySqlServerVersion(ServerVersion.Parse(AppSettings.Sql.Version)), builder => { builder.MinBatchSize(4); builder.CommandTimeout(60); builder.UseQuerySplittingBehavior(QuerySplittingBehavior.SplitQuery); builder.UseNewtonsoftJson(MySqlCommonJsonChangeTrackingOptions.FullHierarchyOptimizedSemantically); }); opt.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking); if (AppSettings.IsDebugger) { opt.LogTo(x => { Console.ForegroundColor = ConsoleColor.DarkYellow; Console.WriteLine(x);...
I executed the integration test according to the document, but all failed and the error table did not exist. Why is this? Where can I get the initial table。 