Пример #1
0
 public ByENodebQuickSaveOneCdmaCellService(ICdmaCellRepository repository,
     CdmaCellBaseRepository baseRepository,
     CdmaCellExcel cellInfo, ENodebBaseRepository eNodebRepository)
     : base(repository, baseRepository, cellInfo)
 {
     _eNodeb = eNodebRepository.QueryENodeb(cellInfo.BtsId);
 }
Пример #2
0
 public override void Save(ParametersDumpInfrastructure infrastructure)
 {
     using (var baseRepository = new ENodebBaseRepository(_repository))
     {
         foreach (var cdmaBts in from cdmaBts in _btsInfoList
                                 let bts = baseRepository.QueryENodeb(cdmaBts.BtsId)
                                 where bts == null select cdmaBts)
         {
             _repository.Insert(cdmaBts);
         }
     }
     infrastructure.CdmaBtsUpdated = 0;
 }
Пример #3
0
 public ByENodebBaseQuickSaveOneCellService(ICellRepository repository, CellBaseRepository baseRepository,
     CellExcel cellInfo, ENodebBaseRepository eNodebRepository, bool updateExisted = false)
     : base(repository, cellInfo, baseRepository, updateExisted)
 {
     _eNodeb = eNodebRepository.QueryENodeb(cellInfo.ENodebId);
 }