Example #1
0
 public virtual IQueryable <T> GetMany(Expression <Func <T, bool> > predicate)
 {
     return(_dbContext.Set <T>().Where(predicate));
 }
Example #2
0
 public GenericRepository(TSIDataContext dataContext)
 {
     _dbContext = dataContext;
     _dbset     = _dbContext.Set <T>();
 }