title: linq to entities does not recognize the method System.Collections.Generic.List
body: <p>I have below entities :</p>
  
  <pre><code>public class Person
  {
      #region Primitive Properties
      public virtual int PersonId {get; set;}
      public virtual string FirstName{get; set;}
      public virtual string LastName { get; set; }
      #endregion
  
      #region Navigation Projperties
      public virtual ICollection&lt;Address&gt; Addresses { get; set; }
      #endregion
  }
  
  public class Address
  {
      #region primitive properties
      public virtual int AddressId
      {
          get;
          set;
      }
      public virtual int PersonId
      {
          get;
          set;
      }
      public virtual int AddressSubTypeId
      {
          get;
          set;
      }
      public virtual string CompleteAddress
      {
          get;
          set;
      }
      public virtual bool IsActive
      {
          get;
          set;
      }
      #endregion
  
  }
  </code></pre>
  
  <p>and have below models :</p>
  
  <pre><code>public class Person
  {
      public int PersonId { get; set; }
      public string Name { get; set; }
      public string LastName { get; set; }
      public List&lt;Email&gt; Emailes { get; set; }
      public List&lt;Phone&gt; Phones { get; set; }
  }
  
  public class Phone
  {
      public int PhoneId { get; set; }
      public string Name { get; set; }
  }
  
  
  public class Email
  {
      public int EmailId { get; set; }
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>I want to get list of my person with below code :</p>
  
  <pre><code> return context.Persons.Select(x =&gt; new Model.Person
                          {
                              PersonId = x.PersonId,
                              Name = x.FirstName,
                              LastName = x.LastName,
                              Phones = x.Addresses.Where(a =&gt; a.AddressSubTypeId == 1).Select(a =&gt; new Model.Phone
                                                  {
                                                      PhoneId = a.AddressId,
                                                      Name = a.CompleteAddress
                                                  }).ToList(),
                              Emailes = x.Addresses.Where(a =&gt; a.AddressSubTypeId == 2).Select(a =&gt; new Model.Email
                                                  {
                                                      EmailId = a.AddressId,
                                                      Name = a.CompleteAddress
                                                  }).ToList()
  
                          }).ToList();
  </code></pre>
  
  <p>When I run above expression raised below error :</p>
  
  <blockquote>
    <p>LINQ to Entities does not recognize the method 'System.Collections.Generic.List<code>1[Model.Phone] ToList[Phone](System.Collections.Generic.IEnumerable</code>1[Model.Phone])' method, and this method cannot be translated into a store expression.</p>
  </blockquote>