Exemple #1
0
 public SimpleEntityStore(
     IQueryAdapterManager <TEntity> queryAdapterManager,
     IFederatedQueryManager <TEntity> federatedQueryManager,
     ISimpleEntityRepository <TEntity> entityRepository,
     ILogger <SimpleEntityStore <TEntity> > logger,
     IDbQueryConfiguration dbQuery,
     ICacheManager cacheManager)
 {
     _federatedQueryManager = federatedQueryManager;
     _queryAdapterManager   = queryAdapterManager;
     _entityRepository      = entityRepository;
     _cacheManager          = cacheManager;
     _dbQuery = dbQuery;
     _logger  = logger;
 }
 public GetByIdUseCase(IGetByIdOutputHandler outputHandler, ISimpleEntityRepository repository)
 {
     _outputHandler = outputHandler;
     _repository    = repository;
 }