get count only using entity Framework query c# code example
Example: entity framework return count of records
var count = (from o in context.MyContainer
where o.ID == '1'
from t in o.MyTable
select t).Count();