title: Fail to convert LINQ query result to ToList
body: <pre><code>  /// &lt;summary&gt;
          /// Get All Countries 
          /// &lt;/summary&gt;
          /// &lt;returns&gt;&lt;/returns&gt;
          public IEnumerable&lt;CountryVM&gt; GetAllCountry( )
          {
              using (Context context  = new Context() )
              {
                  var countries = context.COUNTRY.Select(c =&gt; new CountryVM()
                       {
                           ID = c.ID,
                           DESCRIPTION = c.DESCRIPTION,
                       }
  
                  ).ToList(); // Gets Exception here.
                  return countries;
              }
  </code></pre>
  
  <p>Why am I not able to convert to ToList() ?</p>
  
  <p>Iget following Exception :</p>
  
  <blockquote>
    <p>LINQ to Entities does not recognize the method
    'System.Collections.Generic.List<code>1[LANGUAGE]
    ToList[LANGUAGE](System.Collections.Generic.IEnumerable</code>1[LANGUAGE])'
    method, and this method cannot be translated into a store expression.</p>
  </blockquote>