public RepositoryTestBase() { CreatedEntities = new Dictionary <string, List <object> >(); _distributedCache = new MemoryDistributedCache( new OptionsWrapper <MemoryDistributedCacheOptions>( new MemoryDistributedCacheOptions())); _efdemoContextMem = InMemorySearchContext(); //_sqlRepository = new efdemoRepository( // _efdemoContextSql, // _configuration, // _loggingService, // mapper //); //_memRepository = new efdemoRepository( // _efdemoContextMem, // _configuration, // _loggingService, // mapper //); }
protected efdemoRepository GetNewRepository(efdemoContext context) { return(new efdemoRepository(context, _configuration)); }