Hi,
I am trying to craft a LINQ statement as follows:
The result should follow between two dates (today basically) OR the result should have a "batchstatus" column that equals false (hasn't been verified yet) the result should have a "ready" column that equals true (is ready to be verified).
So verifiers can see all data from today regardless if its been verified or not, BUT shouldn't see any that the users are not ready to be seen yet.
I have tried this several different ways such as:
Dim p = From t In db.batches _
Where t.bDate > day1 And t.bDate < day2 And t.Ready = True Or t.BatchStatus = False _
Order By t.BatchStatus Ascending _
Select t
Please help me keep my hair; I have a handful now & I don't know how much longer I can keep from yanking it out!!!
Thanks!