title: How get array in linq to entity?
body: <pre><code>var sites = 
      from country in db.Countries
      select new SitiesViewByUser()                
      {         
          Country = country.Title, 
          City = country.Cities
              .Select(m =&gt; m.Title).ToArray()                                   
      };
  </code></pre>
  
  <p>City - array string.</p>
  
  <p>I need get array Cities.Title</p>
  
  <p>this code:</p>
  
  <pre><code>foreach(var item in sites)
  </code></pre>
  
  <p>get this error:</p>
  
  <blockquote>
    <p>Expression of LINQ to Entities does not recognize the method
    "System.String [] ToArray [String]
    (System.Collections.Generic.IEnumerable` 1 [System.String]) ", so it
    can not be converted into an expression store.</p>
  </blockquote>