Linq 问题
int gcPersonCount = from c in dc.JT_ShengXuQKs where c.FB_ID == fID select ISNULL(c.SX_NaiNiu_Zong, 0) + ISNULL(c.SX_XiMenNiu_Zong, 0);
怎么不行呢
------解决方案--------------------
int gcPersonCount = from c in dc.JT_ShengXuQKs where c.FB_ID == fID select new
{
//...这里面操作
}