Skip to content
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. #250

Closed
nicpot opened this issue Jan 4, 2024 · 2 comments
Closed

The object has been removed from the model. #250

nicpot opened this issue Jan 4, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@nicpot
Copy link

nicpot commented Jan 4, 2024

I have an EFCore 8.0 console testing app in which I use the UseSnakeCaseNamingConvention() option on a postgresql dbContext with UseNpgsl() for testing and designing some entities . I have a await db.Database.EnsureDeletedAsync(cancellationToken) and await db.Database.EnsureCreatedAsync(cancellationToken) and both throws with 'The object has been removed from the model.' once I upgraded EFCore.NamingConventions to 8.0.0 and even 8.0.1.

I have had no such issues with 8.0.0-rc2, and I have now rolled back to 8.0.0-rc2 and it works 100% like before the updates.

Thanks for the package btw!

@roji
Copy link
Member

roji commented Jan 4, 2024

Duplicate of #251

@roji roji marked this as a duplicate of #251 Jan 4, 2024
@roji
Copy link
Member

roji commented Jan 4, 2024

Can you please try to put together a minimal repro and post it to #251? If that's done I can investigate and fix if necessary.

@roji roji closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2024
@roji roji added the duplicate This issue or pull request already exists label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants