/// <summary> /// 检查数据 /// </summary> /// <returns></returns> private bool CheckData() { if (Datas == null) { return(false); } foreach (var data in Datas) { bool result = !Datas.Any(i => i.DataList.Count != data.DataList.Count); if (!result) { return(false); } } return(true); }
public bool AnySysEmergencyLinkageByLambda(Expression <Func <SysEmergencyLinkageModel, bool> > lambda) { var res = Datas.Any(lambda); return(res); }