Saturday, November 5, 2011

.Select should be .Where

.Select should be .Where in this posting taking this shape:

return new AdHocSpecification<Program>(p => p.ProgramPlans.Where(pp => Ids.Contains(pp.Id)).Count() > 0);

 
 

I made a mistake.

No comments:

Post a Comment