public SqlServerRepository(IConnectionFactory connectionFactory,
                            IEnvironmentCheckRepository environmentCheckRepository, IReportRepository reportRepository,
                            IAnalyticsRepository analyticsRepository, IFileLatencyRepository fileLatencyRepository,
                            IResourceServerRepository resourceServerRepository,
                            IDeploymentRepository deploymentRepository,
                            IPerformanceSummaryRepository performanceSummaryRepository, IConfigurationRepository configurationRepository,
                            IPrimarySqlServerRepository primarySqlServerRepository, IServerRepository performanceServerRepository,
                            IAgentRepository agentRepository, ISampleHistoryRepository sampleHistoryRepository,
                            IBackfillRepository backfillRepository, IEventRepository eventRepository, ILogRepository logRepository,
                            IProcessControlRepository processControlRepository, IConfigurationAuditRepository configurationAuditRepository)
 {
     this.connectionFactory = connectionFactory;
     _dataRepositories.AddRange(new IDbRepository[]
     {
         ReportRepository             = reportRepository,
         EnvironmentCheckRepository   = environmentCheckRepository,
         AnalyticsRepository          = analyticsRepository,
         FileLatencyRepository        = fileLatencyRepository,
         PDBNotificationRepository    = new PDBNotificationRepository(this.connectionFactory),
         ResourceServerRepository     = resourceServerRepository,
         DeploymentRepository         = deploymentRepository,
         PerformanceSummaryRepository = performanceSummaryRepository,
         ConfigurationRepository      = configurationRepository,
         PrimarySqlServerRepository   = primarySqlServerRepository,
         PerformanceServerRepository  = performanceServerRepository,
         AgentRepository              = agentRepository,
         SampleHistoryRepository      = sampleHistoryRepository,
         BackfillRepository           = backfillRepository,
         EventRepository              = eventRepository,
         LogRepository                = logRepository,
         ProcessControlRepository     = processControlRepository,
         ConfigurationAuditRepository = configurationAuditRepository
     });
 }
 public FileLatencyService(ISqlServerRepository sqlServerRepository)
     : base(sqlServerRepository)
 {
     this.fileLatencyRepository = sqlServerRepository.FileLatencyRepository;
 }