Пример #1
0
 public override void Save(ParametersDumpInfrastructure infrastructure)
 {
     using (CdmaCellBaseRepository baseRepository = new CdmaCellBaseRepository(_repository))
     {
         foreach (CdmaCell cell in _cells)
         {
             if (_baseBtsRepository.QueryENodeb(cell.BtsId) != null
                 && baseRepository.QueryCell(
                     cell.BtsId, cell.SectorId, cell.CellType) == null)
             {
                 _repository.Insert(cell);
                 infrastructure.CdmaCellsInserted++;
             }
         }
     }
 }