예제 #1
0
 protected RepoBase(DbContextOptions <ContosoCoreContext> options)
 {
     db    = new ContosoCoreContext();
     Table = db.Set <T>();
 }
예제 #2
0
 protected RepoBase()
 {
     db    = new ContosoCoreContext();
     Table = db.Set <T>();
 }