What is the difference between
dbContext.foo.Count(q=>q==true);
and
dbContext.foo.Where(q=>q==true).Count();
is there a difference between the performance ?
I Have Stumbled Upon This Documentation but it isn't clear enough for me . Any Help would be greatly appreciated :)
Edit: I found out that from this Question that the difference is minimal when it comes to list, how about when it is directly being queried from the database?