score:3

Accepted answer

you are trying to use the system.linq.queryable.where extension method, but your code thinks you want system.data.objects.objectquery.where.

make sure you have the correct imports system.linq statement at the top of your file. if that doesn't work, you might have to directly call system.linq.queryable.where(testresults, ...).count. you could also use count(predicate) instead of where(predicate).count, which might also avoid the conflict.


Related Query

More Query from same tag