title: Linq query is not populating Child Collection
body: <p>The following query is not working from visual Studio:</p>
  
  <pre><code> var query = this.ObjectContext.Questions.Include("AnswerKey").Where(o =&gt; o.SurveyQuestions.Any(o2 =&gt; o2.SurveyID == 3));
  </code></pre>
  
  <p>however in linqPad it works like it should using:</p>
  
  <pre><code>Questions
      .Include("AnswerKey")
      .Where(o=&gt;o.SurveyQuestions.Any(o2=&gt;o2.SurveyID==3)).Dump();
  </code></pre>
  
  <p>The query is loading the questions that it should be loading, however it is not loading the child collection of AnswerKeys. However the linqpad query does return the child collection. After struggling for a day with this, I have to be doing something dumb...please tell me what my error is...thanks.</p>
  
  <p><em><strong>Adding more detail:</em></strong>
  I am using EF and RIA Services in a Silverlight 4.0 Application</p>
  
  <p>I am executing this code from a partial Class of my DomainServiceClass</p>
  
  <pre><code>public IQueryable&lt;Data.Questions&gt; GetQuestionsbySurveyId(int id)
          {
              //var query = this.ObjectContext.Questions.Include("AnswerKey").Where(o =&gt; o.SurveyQuestions.Any(o2 =&gt; o2.SurveyID == id));
             // var query = this.ObjectContext.Questions.Include("AnswerKey").Where(o =&gt; o.SurveyQuestions.Any(o2 =&gt; o2.SurveyID == 3));
             var query= this.ObjectContext.Questions.Include("AnswerKey").Include("SurveyQuestions");
  
              //var query = this.ObjectContext.Questions;
  
              Debug.WriteLine(((ObjectQuery)query).ToTraceString());
  
              return query;
  
          }
  </code></pre>
  
  <p>I dont know if that really makes any difference. The linqpad query is using the same EF datacontext as this. I have verified that the generated SQL is the same. Would it matter that on the Client side its being returned as an EntityQuery?</p>
  
  <pre><code>private void ReceiveNewQuestionairreRequest(fnReadmitPatientList_Result request)
          {
              CurrentSelectedPatient = request;
  
              var context = new SurveysDomainContext();
              EntityQuery&lt;Questions&gt; query = context.GetQuestionsbySurveyIdQuery(3);
  
  
              context.Load(query, SurveyQuestions_Loaded, null);
              //context.Load(q, AnswerKey_Loaded, null);
  
          }
  
          private void SurveyQuestions_Loaded(LoadOperation&lt;Questions&gt; lo)
          {
              if (!loHasError(lo))
              {
  
                  QuestionsCollection = new ObservableCollection&lt;Questions&gt;(lo.Entities);
                  foreach (Questions q in QuestionsCollection)
                  {
                      Debug.WriteLine(String.Format("{0} {1} - Available Answers= {2}", q.ID, q.Text, q.AnswerKey.Count()));
                  }
  
              }
  
          }
  </code></pre>