-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Move defining query implementation to InMemory #21624
Comments
This cannot be done in 5.0 |
@dotnet/efteam - Defining queries are registered in model in OnModelCreating. Should it disallow usage of DbContext based members other than DbSet? Currently it may be working by accident in the way how they work. But we are functionally breaking it to make defining query work like a view for InMemory. Database views doesn't access DbContext members. |
Yes, now would be a good moment to disallow it so we can get feedback from early adopters. |
Few notes:
|
After the methods obsoleted in #18903 are removed the implementation and tests can be made in-memory-only.
The text was updated successfully, but these errors were encountered: