public OracleRepository(string connectionString) { OracleInsightDbProvider.RegisterProvider(); db = new OracleConnectionStringBuilder(connectionString); searchRepository = new SearchRepository(db); historyRepository = new AccessHistoryRepository(db); dashboardRepository = new DashboardRepository(db); }
public AccountController(IUserService userService, IApplicationSignInManager signManager, IMapper mapper, IConfiguration configuration, IAccessHistoryRepository historyRepository) { _userService = userService; _signManager = signManager; _mapper = mapper; _configuration = configuration; _historyRepository = historyRepository; }
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); }
public AccessHistoryService(IAccessHistoryRepository repository, IUnitOfWork unitOfWork, IValidator <AccessHistory> validator) : base(repository, unitOfWork, validator) { _accessHistoryRepository = repository; }
public AccessHistoryService(IAccessHistoryRepository repository) { this.repository = repository; }