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