Exemplo n.º 1
0
 public Respository(PhanCongGiangDayEntities context)
 {
     this._context = context;
     this.table    = context.Set <T>();
 }
Exemplo n.º 2
0
 public Respository()
 {
     this._context = new PhanCongGiangDayEntities();
     //this._context.Configuration.ValidateOnSaveEnabled = false;
     this.table = _context.Set <T>();
 }