日期:2014-05-20 浏览次数:20857 次
var query= from x in db.a join y in db.b on x.bid equals b.id group x by x.name into g select g.OrderByDescending(z=z.time).First(); ------解决方案--------------------