title: Applying 'Where' to LINQ causes type conversion error
body: <p>Probably a straight forward question, and probably a duplicate which I cannot find.  </p>
  
  <p>I'm applying a filter to a Linq query, but I'm doing it wrong.  What's the correct way?</p>
  
  <pre><code>var cities = db.Cities; 
  cities = cities.Where(p =&gt; p.CityName == "New York");
  </code></pre>
  
  <p>This gives a compile error:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'System.Linq.IQueryable&lt;
    Database.Cities >' to 'System.Data.Linq.Table&lt; Database.Cities >'. An
    explicit conversion exists.</p>
  </blockquote>