hello i was wondering if this syntax is incorrect, incompiled the returned
an error "New"

         var results = from r in context.Expenses
         group r by new { r.ExpenseName, r.Amount, r.DateAdded } into
myGroup
         where myGroup.Key.DateAdded >= dateFrom && myGroup.Key.DateAdded <
dateTo
         orderby myGroup.Key.ExpenseName
         select new { myGroup.Key.ExpenseName, myGroup.Key.Amount };

-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to