public GenericRepository(SysDbContext _context) { this._context = _context; this._dbSet = _context.Set <TEntity>(); }
private UnitOfWork() { _context = SysDbContext.Instance; }
public GenericRepository(SysDbContext _context) { this._context = _context; this._dbSet = _context.Set <TEntity>(); }
private UnitOfWork() { _context = SysDbContext.Instance; }