public OpertionClass(NewsPortalEntities context) { this._context = context; this._table = _context.Set <T>(); }
public OpertionClass() { this._context = new NewsPortalEntities(); this._table = _context.Set <T>(); }