var query = myDataContext.ChapterMeeting .GroupBy(cm => cm.ChapterID) .Select(g => new { g.Key, MinMeetingDate = g.Min(cm => cm.MeetingDate) });
嗯,大卫打败了我,但如果你想用"理解"语法看到它:
var q = ( from cm in context.ChapterMeeting group cm by cm.ChapterID into cmg select new { ChapterID = cmg.Key, FirstMeetingDate = cmg.Min(cm => cm.MeetingDate)});