London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi Johan,
That's not possible. However, it seems that you could get the same result by modifying what you filter with, ie: .Filter(x => x.price.GreaterThan(y+input2);
Thanks Joel! Examples were highly simplified. I just wanted to know if I'd missed someting when testing stuff out.
I'm analyzing building a "advanced search" panel where a user can add two integer input values to filter the search.
I will be able to put most calculations stuff I need as properties on the objects but I also wonder (to know what options I have) if it's possible do something like this (or similiar) when querying:
.Filter(x => (x.operatingCost + (12 * input1)).GreaterThan(x));
.Filter(x => (x.price - input2).GreaterThan(y);