-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Translate as
in where clause
#17475
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
as
in where clause
@Anduin2017 EF translates |
Thanks! That really solves! |
Ok. I gotta be really happy if you can fix this and translate the |
Can you tell me where I can add this new grammar? |
@smitpatel Since you added |
While code is similar in various place, we can start with one location and update at all location once the structure is define. Above code basically unwrap a convert node and gives the converted type. Similar to above processing it needs to identify TypeAsOperation and then unwrap it to identify converted type and innerExpression. It should be added as extension method so all places can easily utilize it. So it goes this way.
|
This is already fixed in master branch in #19377 |
I have two class:
In DbContext, there are DbSets:
Which generates two tables:
Conversations
andUsers
.Now an error occurred with query:
Told me that in
Users.Any()
,Users
is null.I am very confused. How can I query all private conversations with user in it?
Additional info:
packages I usesd:
runtime: .NET Core 2.2
The text was updated successfully, but these errors were encountered: