title: How to use a subview with a different model than that of the main view?
body: <p>I want to use a partial view to represent the rows of a table:</p>
  
  <pre><code>// SomeItem.cshtml
  @model SomeItemModel
  &lt;tr&gt;
      &lt;td&gt;
          @Html.DisplayTextFor(m =&gt; m.SomeField)
      &lt;/td&gt;
      &lt;td&gt;
          @Html.DisplayTextFor(m =&gt; m.AnotherField)
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>And call it from a view representing a page containing that table:</p>
  
  <pre><code>// SomeCollection.cshtml
  @model SomeCollection
  ...
  &lt;table&gt;&lt;tbody&gt;
  @foreach (TipoDocumentoModel item in Model) {
      Html.Partial("SomeItem", item);
  }&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  ...
  </code></pre>
  
  <p>But it doesn't work. Why?</p>