예제 #1
0
 public IEnumerable <int> GetVanishedENodebIds()
 {
     if (!ENodebExcels.Any())
     {
         return(new List <int>());
     }
     return(from eNodeb in _eNodebRepository.GetAllInUseList()
            join info in ENodebExcels
            on eNodeb.ENodebId equals info.ENodebId into eNodebQuery
            from eq in eNodebQuery.DefaultIfEmpty()
            where eq == null
            select eNodeb.ENodebId);
 }
예제 #2
0
 public IEnumerable <ENodebExcel> GetNewENodebExcels()
 {
     if (!ENodebExcels.Any())
     {
         return(new List <ENodebExcel>());
     }
     return(from info in ENodebExcels
            join eNodeb in _eNodebRepository.GetAllInUseList()
            on info.ENodebId equals eNodeb.ENodebId into eNodebQuery
            from eq in eNodebQuery.DefaultIfEmpty()
            where eq == null
            select info);
 }