public IQueryable <T> FindAll() { return(db.Set <T>().AsNoTracking()); }
public virtual Task <List <TModel> > GetAllAsync() { return(context.Set <TEntity>() .ProjectTo <TModel>(this.configuration) .ToListAsync()); }
public GenericRepository(AdventureWorks2016Context _db) { db = _db; _objectSet = db.Set <T>(); }