Example #1
0
 public BaseRepo()
 {
     ctx   = new AutoLotEntities();
     table = ctx.Set <T>();
 }
Example #2
0
 public BaseRepo()
 {
     _db    = new AutoLotEntities();
     _table = _db.Set <T>();
 }
Example #3
0
 public BaseRepo(AutoLotEntities context)
 {
     _db    = context;
     _table = _db.Set <T>();
 }
Example #4
0
 public BaseRepo()
 {
     db    = new AutoLotEntities();
     table = db.Set <T>();
 }