我试图让选择按钮的其余部分在此LINQ查询,但智能感知是给我一个错误如何获得Linq中的组中的所有选择项By子句
var query2 = from row2 in query1
group row2 by row2.questionid into g
where g.Count() > 0
select new
{
questionid1, //Error here
time, //Error here
thecount = g.Count()
};
如何获得那些选择钥匙?