public PlanetRepository(SolarSystemEntities db)
 {
     this.db    = db;
     this.table = db.Set <T>();
 }
 public PlanetRepository()
 {
     this.db    = new SolarSystemEntities();
     this.table = db.Set <T>();
 }