I have an entity collection
EntityCollection<OrderEntity> myOrders
of orders entities. Each entity has a property .OrderValue
why can't I get the sum of all orders by using linq i.e
double orderSum = myOrders.Sum(o => o.OrderValue);
or can I?
Thanks in advance