C# linq groupby sum
2020-12-18 00:33
阅读:524
标签:group class new sum div key span rds records C# linq groupby sum 标签:group class new sum div key span rds records 原文地址:https://www.cnblogs.com/dayang12525/p/13973319.html
var records = studyRecords.GroupBy(x => x.StudyTime.Date).Select(y => new
{
date = y.Key,
seconds = y.Sum(x => x.StudySeconds)
});
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:C# linq groupby sum
文章链接:http://soscw.com/index.php/essay/36969.html
文章标题:C# linq groupby sum
文章链接:http://soscw.com/index.php/essay/36969.html
评论
亲,登录后才可以留言!