コード例 #1
0
 public void VanishCells(CdmaCellIdsContainer container)
 {
     foreach (
         var cell in
         container.CellIdPairs.Select(
             cellIdPair => _cellRepository.GetBySectorIdAndCellType(cellIdPair.CellId, cellIdPair.SectorId, cellIdPair.CellType))
         .Where(cell => cell != null))
     {
         cell.IsInUse = false;
         _cellRepository.Update(cell);
     }
     _cellRepository.SaveChanges();
 }
コード例 #2
0
 public void VanishCells(CdmaCellIdsContainer container)
 {
     foreach (
         var cell in
             container.CellIdPairs.Select(
                 cellIdPair => _cellRepository.GetBySectorIdAndCellType(cellIdPair.CellId, cellIdPair.SectorId, cellIdPair.CellType))
                 .Where(cell => cell != null))
     {
         cell.IsInUse = false;
         _cellRepository.Update(cell);
     }
     _cellRepository.SaveChanges();
 }
コード例 #3
0
 public void Put(CdmaCellIdsContainer container)
 {
     _service.VanishCells(container);
 }
コード例 #4
0
 public void Put(CdmaCellIdsContainer container)
 {
     _service.VanishCells(container);
 }