-
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
EfCore 3.1 Query Translation Issue: When using into keyword #20660
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have simplified an older EfCore 2.2 query when migrating to Efcore 3.1, which is refusing to be translated at all
Source Code
Below is what the query looks like:
You can see, my where statement is simple; only require one row. Inbound
KfiId
is unique.If i remove, the
into
statements above, of which there 2, the above queries does work however i get duplicates in my result set, that is because, the join that produces the range variablebdetails
pulls back 4 rows. So a group by or a simple projection should ought to fix this but it does not.Error
Re-instating the
into
statements, i get the below error:Workarounds Tried
I have tried
.ToList
.AsEnumerable
but, no matter where i place it, i get the same error.So I am really puzzled why such a simple use case, is failing: 😕 - i did read the breaking changes docs too.
The text was updated successfully, but these errors were encountered: