예제 #1
0
 protected GenericRepositoryBase(Dota2DbContext dbContext)
 {
     DBContext = dbContext;
     DBSet     = dbContext.Set <TEntity>();
 }
예제 #2
0
 public TaskParserRepository(Dota2DbContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = dbContext.Set <Task>();
 }
예제 #3
0
 public TaskParserRepository(Dota2DbContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet = dbContext.Set<Task>();
 }