-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Null in Queriers #1
Comments
i add |
Sorry for the late reply, I missed the notification I believe. You should use a comparison in your expression, it should work with that, I am adding a new unit test right now;
and it's working. I believe your code should be like this; organizationalRoles.Where("(Parent!=null ? parent.Name:Title) != null"); |
I'm trying to do something similar and it doesn't seem to work:
Any ideas? |
Looks like I just needed to change it to:
|
@gbreen12 first one should work, I'll look into it. |
this query does not work
organizationalRoles = organizationalRoles.Where("(Parent!=null ? parent.Name:Title)");
how did you handle null values in code
The text was updated successfully, but these errors were encountered: