public DiveLocationService(IEagerFetchingRepository <DiveLocationDetail> diveLocationDetailRepository, IUnitOfWorkScopeFactory unitOfWorkScopeFactory, IEagerFetchingRepository <DiveLocation> diveLocationRepository, ILogger <DiveLocationService> logger, IExceptionManager exceptionManager) : base(unitOfWorkScopeFactory, diveLocationRepository, logger, exceptionManager) { _diveLocationDetailRepository = diveLocationDetailRepository; _diveLocationRepository = diveLocationRepository; _diveLocationRepository.DataStoreName = DataStoreDefinitions.Samples; _diveLocationDetailRepository.DataStoreName = DataStoreDefinitions.Samples; }
public CustomerService(IUnitOfWorkScopeFactory unitOfWorkScopeFactory, IEagerFetchingRepository <Customer> repository, ILogger <CustomerService> logger, IExceptionManager exceptionManager) : base(unitOfWorkScopeFactory, repository, logger, exceptionManager) { repository.DataStoreName = "TestDbContext"; this._repository = repository; this.AddRulesAndValidators(); }
public OrderRepository(IEagerFetchingRepository <Order> repository) : base(repository) { }
public UserService(IEagerFetchingRepository <ApplicationUser> userRepository, ILogger <UserService> logger, IExceptionManager exceptionManager) : base(logger, exceptionManager) { _userRepository = userRepository; _userRepository.DataStoreName = DataStoreDefinitions.Samples; }
public EncapsulatedRepository(IEagerFetchingRepository <TEntity> repository) { _repository = repository; _repository.DataStoreName = "TestDbContext"; }
public TestDomainService(IUnitOfWorkScopeFactory unitOfWorkScopeFactory, IEagerFetchingRepository <Customer> repository, ILogger <TestDomainService> logger, IExceptionManager exceptionManager) : base(unitOfWorkScopeFactory, repository, logger, exceptionManager) { repository.DataStoreName = "TestDbContext"; }
public CrudDomainService(IUnitOfWorkScopeFactory unitOfWorkScopeFactory, IEagerFetchingRepository <TEntity> repository, ILogger logger, IExceptionManager exceptionManager) : base(logger, exceptionManager) { this._unitOfWorkScopeFactory = unitOfWorkScopeFactory; this._repository = repository; }