示例#1
0
 public Repository()
 {
     OracleInsightDbProvider.RegisterProvider();
     string connectionString = "User Id=RMS_GUEST;Password=RMS_GUEST;Data Source=lxrmsdevdb1.beckman.com:1521/RMSDVA";
     this.db = new OracleConnectionStringBuilder(connectionString);
     this.instrumentInfoRepository = new InstrumentInfoRepository(this.db);
     this.instrumentRepository = new InstrumentRepository(this.db);
     this.accessHistoryRepository = new AccessHistoryRepository(this.db);
     this.eventRepository = new EventRepository(this.db);
     this.performanceDetailsRepository = new PerformanceDetailsRepository(this.db);
     this.systemStatusRepository = new SystemStatusRepository(this.db);
     this.instrumentAccessHistoryRepository = new InstrumentAccessHistoryRepository(this.db);
 }
示例#2
0
 public PerformanceDetailsServiceWp(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     IPerformanceDetailsRepository performanceDetailsRepository,
     ITagRepository tagRepository,
     ICreativeTeamRepository creativeTeamRepository,
     IIsCheckedPerformanceRepository isCheckedPerformanceRepository,
     IMemoryCache memoryCache)
 {
     this.theaterScheduleUnitOfWork    = theaterScheduleUnitOfWork;
     this.performanceDetailsRepository = performanceDetailsRepository;
     this.tagRepository                  = tagRepository;
     this.creativeTeamRepository         = creativeTeamRepository;
     this.isCheckedPerformanceRepository = isCheckedPerformanceRepository;
     this.memoryCache = memoryCache;
 }