예제 #1
0
 public GeneralRepository() : base()
 {
     if (this.db == null)
     {
         this.db = base.db;
     }
     entity = db.Set <T>();
 }
예제 #2
0
 public GeneralRepository(FlightManageBookDBContext db)
 {
     if (this.db == null)
     {
         this.db = db;
     }
     entity = db.Set <T>();
 }