Step 1: Understanding the Concept
\(x\,dy=y\,dx\) can be written as \(\dfrac{dy}{y}=\dfrac{dx}{x}\).
Step 2: Integrate
\(\log y=\log x+\log c\), so \(y=cx\).
Step 3: Identify the curve
\(y=cx\) is a straight line through the origin for each constant \(c\).
Step 4: Compare the options
This is option B.
Final Answer:
The solution is a family of straight lines passing through the origin.
\[ \boxed{\text{(B) }\text{a straight line passing through the origin}} \]