Ejemplo n.º 1
0
 public static void SaveRsrpTaStats(this IMroCellRepository repository, IEnumerable <MroRsrpTa> stats)
 {
     foreach (MroRsrpTa stat in
              from stat in stats
              let item = repository.GetAll().FirstOrDefault(x =>
                                                            x.RecordDate == stat.RecordDate && x.CellId == stat.CellId && x.SectorId == stat.SectorId)
                         where item == null
                         select stat)
     {
         repository.Insert(stat);
     }
 }
Ejemplo n.º 2
0
 public MroQueryRsrpTaController(IMroCellRepository repository)
 {
     _repository = repository;
 }
Ejemplo n.º 3
0
 public MroQueryRsrpTaController(IMroCellRepository repository)
 {
     _repository = repository;
 }