示例#1
0
 public DatabaseManager()
 {
     _boardRepository                             = new BoardRepository();
     _boardRowRepository                          = new BoardRowRepository();
     _buildingRepository                          = new BuildingRepository();
     _buildingUserRepository                      = new BuildingUserRepository();
     _certificateRepository                       = new CertificateRepository();
     _certificateRowRepository                    = new CertificateRowRepository();
     _circuitRepository                           = new CircuitRepository();
     _estateRepository                            = new EstateRepository();
     _buildingRowRepository                       = new BuildingRowRepository();
     _userRepository                              = new UserRepository();
     _instrumentRepository                        = new InstrumentRepository();
     _certificateInspectionRepository             = new CertificateInspectionRepository();
     _buildingContactTestRepository               = new BuildingContactTestRepository();
     _buildingTestRepository                      = new BuildingTestRepository();
     _boardTestRepository                         = new BoardTestRepository();
     _circuitTestRepository                       = new CircuitTestRepository();
     _circuitPointsRcdTestRepository              = new CircuitPointsRcdTestRepository();
     _certificateInspectionObservationsRepository = new CertificateInspectionObservationsRepository();
     _circuitPointsRcdRepository                  = new CircuitPointsRcdRepository();
     _observationFromRepository                   = new ObservationFromRepository();
     _observationGroupRepository                  = new ObservationGroupRepository();
     _boardReferenceTypesRepository               = new BoardReferenceTypesRepository();
     _conductorSizeTypesRepository                = new ConductorSizeTypesRepository();
     _circuitOptsRepository                       = new CircuitOptsRepository();
     _optsRepository                              = new OptsRepository();
     _phasesRepository                            = new PhasesRepository();
     _phaseSortOrdersRepository                   = new PhaseSortOrdersRepository();
     _ratingsRepository                           = new RatingsRepository();
     _cableReferenceMethodsRepository             = new CableReferenceMethodsRepository();
     _certificateInspectionQuestionsRepository    = new CertificateInspectionQuestionsRepository();
     _bsAmendmentDatesRepository                  = new BsAmendmentDatesRepository();
     _rcdTypeRepository                           = new RcdTypeRepository();
     _rcdOpCurrentsRepository                     = new RcdOpCurrentsRepository();
     _csaLiveRepository                           = new CsaLiveRepository();
     _csaCpcRepository                            = new CsaCpcRepository();
     _namingConventionRepository                  = new NamingConventionRepository();
 }
示例#2
0
 public PhasesService(IPhasesRepository repository, IUnitOfWork unitOfWork) : base(repository, unitOfWork)
 {
     this._repo = repository;;
 }