I have a SQL Statement that I am trying to convert to a LINQ query. I need to do this because I can\'t edit my database :(. Regardless, I have a SQL Statement that looks like th
Just do a count off of the navigation property of "PurchaseOrders" that I assume is on the Customer entity.
TotalPurchases = x.PurchaseOrders.Count()