示例#1
0
 public Repository(dotnetfundaDbContext db)
 {
     this.db = db;
     table   = db.Set <T>();
 }
示例#2
0
 public Repository()
 {
     this.db = new dotnetfundaDbContext();
     table   = db.Set <T>();
 }