what does 'recently' mean, and can you relate it to a fix we made in the runtime ? (see: changelog browser in the customer area). Have you tried with the latest build ?
I also find it a bit hard to construct a repro case for this.
I thought what you want could be done with the All() method:
- return service where not exists a row in servicevalues where valueid not in (list of ids)
e.g. I have employees 1, 2, 3. I want all customers who have orders filed by all three of them:
var q = from c in metaData.Customer
where c.Orders.All(o=>new[] {1, 2, 3}.Contains(o.EmployeeId.Value))
select c;
however, this gives wrong results, as when I have the orders with employee 2, 2, 3, it works. Linq to sql gives the same results btw, and technically it is correct but it's not the right path for your particular problem...
. I know it's a SQL FAQ but every time I seem to forget the solution...
To have you make progress in this, could you use the Predicate Builder (see first thread in this forum) to append the where clauses instead and see if that works?