title: OData returning children, but no Breeze property / method available on parent entity
body: <p>I am "successfully" executing a breeze query against an asp.net web api ODATA service, but there doesn't seem to be any children, even though the response has the children in it.</p>
  
  <p>query:
              var query = breeze.EntityQuery.from('Transactions')
                              .take(20)
                              .orderBy('Transaction_Timestamp desc')
                              .expand('Items');</p>
  
  <p>How do I access the children? I have tried .Items, .Items(), .Item, .Item(), there is no property or method there. On the service side, I verified that there are navigation properties from Transaction to Items (Transaction.Items), and Items.Transaction. And, as I said, the http response from the service has all of the children's data.</p>
  
  <p>Where can I look to see where the problem might be?</p>
  
  <p>Breeze config:</p>
  
  <pre><code>    breeze.config.initializeAdapterInstance('dataService', 'webApiOData', true);
  
      $http.defaults.headers.put = {
          'Access-Control-Allow-Origin': '*'
      };
  
      new breeze.ValidationOptions({ validateOnAttach: false }).setAsDefault();
  
      var metadataStore = createMetadataStore();
      etc.
  </code></pre>
  
  <p>My Transaction class:</p>
  
  <pre><code> public partial class Transaction
      {
          public Transaction()
          {
              this.Discounts = new HashSet&lt;Discount&gt;();
              this.Items = new HashSet&lt;Item&gt;();
              this.Tenders = new HashSet&lt;Tender&gt;();
          }
  
          public System.Guid Id { get; set; }
         ...
  
          public virtual ICollection&lt;Item&gt; Items { get; set; }
  
      }
  </code></pre>
  
  <p>My Item class:</p>
  
  <pre><code>public partial class Item
  {
      public System.Guid Id { get; set; }
      public System.Guid Transaction_Id { get; set; }
  
     ...
  
      public virtual Transaction Transaction { get; set; }
  }
  </code></pre>
  
  <p>Would this not be enough?</p>
  
  <p>odata/$metadata for Item entity:</p>
  
  <pre><code>&lt;EntityType Name="Item"&gt;
  &lt;Key&gt;
  &lt;PropertyRef Name="Id"/&gt;
  &lt;/Key&gt;
  &lt;Property Name="Id" Type="Edm.Guid" Nullable="false"/&gt;
  &lt;Property Name="Transaction_Id" Type="Edm.Guid" Nullable="false"/&gt;
  ... (omitted fields)
  
  &lt;NavigationProperty Name="Transaction" Relationship="TransactionService.Models.TransactionService_Models_Item_Transaction_TransactionService_Models_Transaction_TransactionPartner" ToRole="Transaction" FromRole="TransactionPartner"/&gt;
  &lt;/EntityType&gt;
  </code></pre>
  
  <p>This is data returned in the Transactions.Expand('Items') breeze query:</p>
  
  <pre><code>{
    "odata.metadata":"http://localhost:49858/odata/$metadata#Transactions","value":[
      {
        "odata.type":"TransactionService.Models.Transaction","odata.id":"http://localhost:49858/odata/Transactions(guid'f93805cf-cc80-4d2e-9d9e-97df9c21c622')","Discounts@odata.navigationLinkUrl":"http://localhost:49858/odata/Transactions(guid'f93805cf-cc80-4d2e-9d9e-97df9c21c622')/Discounts","Shift@odata.navigationLinkUrl":"http://localhost:49858/odata/Transactions(guid'f93805cf-cc80-4d2e-9d9e-97df9c21c622')/Shift","Tenders@odata.navigationLinkUrl":"http://localhost:49858/odata/Transactions(guid'f93805cf-cc80-4d2e-9d9e-97df9c21c622')/Tenders","Items@odata.navigationLinkUrl":"http://localhost:49858/odata/Transactions(guid'f93805cf-cc80-4d2e-9d9e-97df9c21c622')/Items","Items":[
          {
            "odata.type":"TransactionService.Models.Item","odata.id":"http://localhost:49858/odata/Items(guid'511348d7-2886-4b13-ad7e-0eeb2a11bd85')","Transaction@odata.navigationLinkUrl":"http://localhost:49858/odata/Items(guid'511348d7-2886-4b13-ad7e-0eeb2a11bd85')/Transaction","Id@odata.type":"Edm.Guid","Id":"511348d7-2886-4b13-ad7e-0eeb2a11bd85","Transaction_Id@odata.type":"Edm.Guid","Transaction_Id":"f93805cf-cc80-4d2e-9d9e-97df9c21c622","Updated@odata.type":"Edm.DateTime","Updated":"2014-05-06T20:30:30.657","Ordinal@odata.type":"Edm.Int16","Ordinal":1,"Item_Type":"item      ","Item_Number":"39                  ","Parent_Ordinal":null,"Modifier@odata.type":"Edm.Byte","Modifier":0,"Description":"Cinnamon Coffee Cake","Item_Serial":null,...
  </code></pre>
  
  <p>etc...</p>