示例#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>();
 }