EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
13.8k
stars
3.2k
forks
source link
EF Core 9 generates incorrect compiled models for negative enum sentinel values #35142
Open
Atulin opened 3 days ago
EF Core version: 9.0 Database provider: Npgsql (efcore.pg) Target framework: .NET 9 Operating system: Windows 10 IDE: Rider 2024.3
Configuration:
Compiled model:
As you can see, it omits the parentheses around the
-1
which leads to the error.