Exemple #1
0
 protected RepoBase(DbContextOptions <MedistorialDbContext> options)
 {
     Db    = new MedistorialDbContext(options);
     Table = Db.Set <T>();
 }
Exemple #2
0
 protected RepoBase()
 {
     Db    = new MedistorialDbContext();
     Table = Db.Set <T>();
 }