title: Asp.net-mvc pass ViewModel to partial view
body: <p>This maybe really stupid but I just can't figure it out...</p>
  
  <p>So here is the problem.
  I have a model say A and a model B.</p>
  
  <pre><code>class A
  {
      B b = new B();
  }
  
  class B
  {
      ...
  }
  </code></pre>
  
  <p>Now, I have a ViewModel for B (but not for A).</p>
  
  <p>So, now I have a view storngly typed to A. And it calls another partial view B to render all the properties of B. But now, how to I pass the viewmodel for B to the partial view? I can pass the model by just calling Model.b but not the viewmodel!</p>