title: Databinding exception with entity navigation property
body: <p>I have two Entity classes: <code>Order</code> and <code>OrderItem</code>. <code>Order</code> contains a navigation property <code>OrderItemSet</code> of type</p>
  
  <pre><code>System.Data.Objects.DataClasses.EntityCollection&lt;OrderItem&gt;
  </code></pre>
  
  <p>On an aspx page is a FormView bound to this EntityDataSource:</p>
  
  <pre><code>&lt;asp:EntityDataSource ID="EntityDataSourceOrder" runat="server" 
      ConnectionString="name=EntitiesContext" 
      DefaultContainerName="EntitiesContext" 
      EntitySetName="Order" 
      Include="OrderItemSet"
  
      // stuff to define a query
  
  &lt;/asp:EntityDataSource&gt;
  </code></pre>
  
  <p>The FormView is bound to the DataSource and the ItemTemplate of this FormView contains a ListView which I try to bind to the OrderItemSet. It looks this way:</p>
  
  <pre><code>&lt;asp:FormView ID="FormViewOrder" runat="server" DataKeyNames="OrderID" 
                DataSourceID="EntityDataSourceOrder" AllowPaging="True" &gt;
      &lt;ItemTemplate&gt;
          ...
  
          &lt;asp:ListView ID="ListViewOrderItems" runat="server" 
                        DataSource='&lt;%# Eval("OrderItemSet")%&gt;' &gt;
              ...
          &lt;/asp:ListView&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:FormView&gt;
  </code></pre>
  
  <p>When I run the application I get an exception pointing to the line <code>DataSource='&lt;%# Eval("OrderItemSet")%&gt;'</code> in markup and telling me:</p>
  
  <p><strong>DataBinding: System.Web.UI.WebControls.EntityDataSourceWrapper does not contain a property with name 'OrderItemSet'</strong></p>
  
  <p>What is wrong here? </p>
  
  <p>(I've done the same with other navigation properties which are not lists but single object references, and that works.)</p>
  
  <p>Thank you for help!</p>