-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The object has been removed from the model" exception after migrating to 8.0.0 or 8.0.1 version #251
Comments
@gawpat93 I'm going to need a minimal, runnable repro (console program) to be able to investigate this - a stack trace isn't enough. |
Same issue here - I think the table names are now correct but Foreign Key names have changed. EF migrations now just die with the above error |
I'm seeing the same issue, and I made a short repro showing my scenario failing with 8.0.x. In my case it seems to concern a one-to-one relationship where I define the principal entity first, including a nav property for the secondary entity. Then in the second entity, I define the relationship. This used to work regardless of order, but now requires specific ordering. Expected error in repro: Repro with top-level statements:
Program.cs
|
Looking through the commit log there seem to have been a number of fairly significant code changes since rc2 - I think an rc3 would have been justified. |
This was introduced in #244. I've pushed a fix and will release 8.0.2 momentarily. |
Hello, I am using UseSnakeCaseNamingConvention with postgress. After migrating from version 8.0.0-rc.2 to 8.0.0 or 8.0.1 I am getting the error below when I am trying to access dbContext. I am not sure what could cause this issue.
The text was updated successfully, but these errors were encountered: