Exemple #1
0
 public virtual IEnumerable <T> GetAll()
 {
     return(_context.Set <T>().AsEnumerable());
 }
Exemple #2
0
 public Repository(LustContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }