We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So for example
Func<Hotel, bool> priceMaxFunc = x => x.Price <= 50; Func<Hotel, bool> priceMinFunc = x => x.Price >= 20;
then join Funcs into expression
Expression<Func<Hotel, bool>> expression = x => priceMaxFunc(x) && priceMinFunc(x);
and translate to Price lt 50 and Price gt 20
Price lt 50 and Price gt 20
The text was updated successfully, but these errors were encountered:
@grubyrychu
I emailed Pete directly and he said it is not possible. I would love this feature though.
Sorry, something went wrong.
I found a library that does this. Linq2Rest
No branches or pull requests
So for example
then join Funcs into expression
Expression<Func<Hotel, bool>> expression = x => priceMaxFunc(x) && priceMinFunc(x);
and translate to
Price lt 50 and Price gt 20
The text was updated successfully, but these errors were encountered: