I am using IQueryable<T> interface.
How can I translate the following sql statement to IQueryable?
select * from customer
where joindate > DateTime.Now and
(customertype = 'system' or customerstatus = 'active') and
customerlocation = 'europe'
Something like this :
There is a nice tool, Linqer, which can help you to convert SQL queries to LINQ. Of course for such simple cases it is overkill, but you can consider it for heavy queries of course if you are more familiar with SQL.
You can find it here LINQER.