linq group & sum query -
My single unit is a framework object that represents a telephone call.
How can I group the dialed numbers? {Number = xxx, durationSum = yyy} by period and project
I am a linq novice and can not get it properly.
I think you want something like this:
var Query = db in call Call group calls by call. Select the number in the new {number = g.Key, avadhisham = g. SUM (c => d. Duration)};
Comments
Post a Comment