Hey guys,
I'm struggling writing some linq. Basically I've got a search method which takes boolean values and decides what results should be included / excluded from the search.
Eg
Search (bool IncludeStatus1, bool IncludeStatus2, bool includeStatus3...)
Now on the back of that I need to create a linq statement to make a selection based on the boolean values
the status is an enum
Status1=0, Status2=1.... and so on
I did do a select all and then a simple for loop on the dataset but thats taken too long. Any ideas?