コード例 #1
0
 public Repositorio(plantillaDbContext _context)
 {
     Context = _context;
     table   = Context.Set <T>();
 }
コード例 #2
0
 public Repositorio()
 {
     Context = new plantillaDbContext();
     table   = Context.Set <T>();
 }