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