-
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
Deprecate defining query at Core level #21622
Conversation
test/EFCore.InMemory.FunctionalTests/Query/InheritanceQueryInMemoryFixture.cs
Outdated
Show resolved
Hide resolved
.ToQuery( | ||
() => context.Set<Bird>() | ||
.Select(b => MaterializeView(b))); | ||
InMemoryEntityTypeBuilderExtensions.ToQuery( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ToQuery directly on entity type builder does not work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ambiguous until the obsoleted method is removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's discuss in design meeting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also file an issue for me to clean up the code in the test, especially moving the tests which are using ToQuery in non-inmemory tests.
Hello @AndriySvyryd! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
@AndriySvyryd @smitpatel Should we put this in preview 8? |
Fixes #18903