Interview Question
Tuesday, April 1, 2014
Group By in Linq
var c = (from s in dbstv.tblBaskets group s by s.CustomerId into a select new{a.Key,mmm=a.Sum(p=>p.ItemPrice)});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment