I'm trying to get the Sum()
from an Entityset<MyObject>
with the next query.
(from MyObject p in SelectedObject.MyObjectEntitySet
where p.AColumn.HasValue &&
p.ADate >= dateTimeValue &&
p.ADate <= dateTimeValue2
select p.AColumn.Value).Sum();
with no luck retrieving correct sum.
Any Ideas?
[EDIT] OK WORKED!