Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector

Results 216 Pomelo.EntityFrameworkCore.MySql issues
Sort by recently updated
recently updated
newest added

### 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`.

type-cleanup

## 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...

type-question

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...

type-enhancement
type-test

### 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...

backport-candidate

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...

type-question

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。 ![image](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/assets/109035173/4b198d91-3d10-4da7-8ba9-7c65a4f991e0)

type-question
needs-more-info