8,497
社区成员
发帖
与我相关
我的任务
分享
if(!string.IsNullOrEmpty(xxx))
{
list.Add(x=>x.CreateUser ==xxx);
}
var query = ......;
if(a)
query = from x in query where x.aa==a select x;
if(b)
query = from x in query where x.bb>b select x;
................
这类强类型的代码。