public BaseRepo() { ctx = new AutoLotEntities(); table = ctx.Set <T>(); }
public BaseRepo() { _db = new AutoLotEntities(); _table = _db.Set <T>(); }
public BaseRepo(AutoLotEntities context) { _db = context; _table = _db.Set <T>(); }
public BaseRepo() { db = new AutoLotEntities(); table = db.Set <T>(); }