public Respository(PhanCongGiangDayEntities context) { this._context = context; this.table = context.Set <T>(); }
public Respository() { this._context = new PhanCongGiangDayEntities(); //this._context.Configuration.ValidateOnSaveEnabled = false; this.table = _context.Set <T>(); }