You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it doesn't return an error or anything, it just consumes memory until the machine crashes. I imagine it's because of mixing two different types, but I couldn't solve it.
Can you help?
Thanks!
EF Core version: 9.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 9.0
Operating system: Windows 11
IDE: Visual Studio 2022 17.12.13
The text was updated successfully, but these errors were encountered:
The problem was that in many-to-many relationships it generated the class with the same name as the property in several cases. So getting into a infinity loop.
I solved it by adding the --data-annotations parameter to the scaffolding command.
Hello Folks!
I generated the database models via Entity Framework scaffolding.
I have a key in a table that is between a GUID field and a LONG field (Bigint in Sql Server). It generates the classes.
But when it passes through this point in the generated DbContext File the code it crashes,
it doesn't return an error or anything, it just consumes memory until the machine crashes. I imagine it's because of mixing two different types, but I couldn't solve it.
Can you help?
Thanks!
EF Core version: 9.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 9.0
Operating system: Windows 11
IDE: Visual Studio 2022 17.12.13
The text was updated successfully, but these errors were encountered: