Beispiel #1
0
 public Repository()
 {
     Db    = new TarefaContext();
     DbSet = Db.Set <TEntity>();
 }
Beispiel #2
0
 public Repositorio(TarefaContext context)
 {
     _context = context;
     _db      = context.Set <T>();
 }