我是MVC的新手,我试着建立学生成绩系统, public partial class MarksType public int MarksTypeId { get; set<MarksType> yourmarks = from x in marks.MarksType where x.MarksTypeId == 5
}最后,
页面意味着我可以这样做:Group By thing.ID Into result = Group, Sum(thing.value)From thing In things
Group By thing.name Into results = Group, Sum(thing.value通过更多的测试,我无法让results成为所谓聚合列表中的第一个项目。