-
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
Query: Prevent client evaluation if query modifiers precede condition #7560
Comments
Can you post the warning text also? |
|
|
|
@breyed - Which version of EF are you using? Scratch that. I got repro. |
The subquery has an orderby clause. In Sql you cannot have orderby inside a subquery. Therefore it fails to translate outer query and shows client eval warning. |
Verify this is fixed when #7613 is closed. |
@maumar - Assigning this should be fixed with lifting of order by. |
Fixed in f022d66 |
The warning RelationalEventId.QueryClientEvaluationWarning is issued if
Include
precedes a condition when queries are chained. Code like this will trigger the warning:By contrast, code like this does not:
The text was updated successfully, but these errors were encountered: