示例#1
0
 public IQueryable <T> Query()
 {
     return(_context.Set <T>());
 }
示例#2
0
 public EfRepository(PlannerContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = dbContext.Set <T>();
 }