/// <summary> /// 查询符合条件的数据,返回列表集合 /// </summary> /// <param name="whereLambda">查询条件</param> /// <returns></returns> public List <T> GetList_Where(Expression <Func <T, bool> > whereLambda) { List <T> list = EF.Set <T>().Where(whereLambda).ToList(); return(list); }