Skip to content

Conversation

@bahusoid
Copy link
Member

@bahusoid bahusoid commented May 14, 2019

Add support for queries like:

session.QueryOver<Entity>().Where(x => x.Age*2 + 11 > 80).Select(x => x.Age*4)...

@bahusoid
Copy link
Member Author

Rebased to resolve conflict

@hazzik
Copy link
Member

hazzik commented Sep 27, 2019

Related to #793

fredericDelaporte and others added 3 commits April 12, 2020 16:27
A bit moot in my view, I do not think such basic operator precedence should be explicited through parenthesis, especially when it matches mathematical rules. But so be it.
Copy link
Member

@fredericDelaporte fredericDelaporte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is #793 obsoleted by this PR?
It was seemingly about adding these operators to criteria through new Projections static methods such as Projections.Add.
As I have never used much Criteria or QueryOver, I am a bit surprised this has been lacking.

@bahusoid
Copy link
Member Author

Is #793 obsoleted by this PR?

No. For proper Criteria support dedicated methods (like Projections.Add) should still be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants