title: If I select from an IQueryable then the Include is lost
body: <p>The <code>include</code> does not work after I perform a select on the <code>IQueryable</code> query.
  Is there a way around this? My query is</p>
  
  <pre><code>public IQueryable&lt;Network&gt; GetAllNetworks()
  {
      var query = (from n in _db.NetworkSet
                  .Include("NetworkContacts.Contact")
                  .Include("NetworkContacts.Contact.RelationshipSource.Target")
                  .Include("NetworkContacts.Contact.RelationshipSource.Source")
                   select (n));        
      return query;;
  }
  </code></pre>
  
  <p>I then try to populate my ViewModel in my WebUI layer using the following code</p>
  
  <pre><code>            var projectedNetworks =
              from n in GetAllNetworks()
              select new NetworkViewModel
              {
                  Name = n.Name,
                  Contacts = from contact in networkList
                      .SelectMany(nc =&gt; nc.NetworkContacts)
                      .Where(nc =&gt; nc.Member == true)
                      .Where(nc =&gt; nc.NetworkId == n.ID)
                      .Select(c =&gt; c.Contact)                        
                      select contact,
              };
  
          return projectedNetworks;
  </code></pre>
  
  <p>The problem now occurs in my newly created <code>NetworkViewModel</code>;
  the <code>Contacts</code> collection objects do not include any loaded data for <code>RelationshipSource.Target</code> or <code>RelationshipSource.Source</code>.</p>
  
  <p>However the data is there when run from the original Repository <code>IQueryable</code> method. However the related <code>include</code> data does not seem to get transferred into the new <code>Contacts</code> collection that is created when I use the <code>Select New NetworkViewModel {}</code>.</p>
  
  <p>Is there a way to preserve this <code>Include</code> data when it gets passed into a new object? At the moment I just keep getting <code>Null</code> exceptions</p>