I\'m trying to determine how to count the matching rows on a table using the EntityFramework.
The problem is that each row might have many
I think you want something like
var count = context.MyTable.Count(t => t.MyContainer.ID == '1');
(edited to reflect comments)