This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi - i can't find anything on the forums relating to this - but i'm sure it's been covered before - searching for "where" and "in" returns too many results! anyhow, i want to query something like the following: UnitOfWork.Query<Entity>().Where(e => e.Property.In(arrayOfValues)). basically I want to convert my array of values into an ordinary old sql 'in' statement. does LS provide any shortcuts for this? :) cheers justin |
|
|
Where(e => arrayOfValues.Contains(e.Property)) |
|