title: Error with LINQ to typed dataset. "Could not find an implementation of the query pattern for source type.."
body: <p>Using VS2008 &amp; .NET 3.5. I am getting an error message "Could not find an implementation of the query pattern for source type 'xxx.BuildingsDataTable'.  'Where' not found.  Consider explicitly specifying the type of the range variable 'building''. (xxx is a namespace)</p>
  
  <p>my linq query:</p>
  
  <pre><code>var query = from building in buildingDS.Buildings
                              where building.BuildingID == 1
                              select new { building.Name };
  </code></pre>
  
  <p>buildingDS is a typed dataset. VS can intellisense buildingDS but it can't intellisense building (buildingID &amp; Name are in red). I have references to System.Data.Linq, System.Data.DataSetExtensions &amp; System.Core. EnforceConstraints for the dataset = true. I tried casting building to the dataRow type but it didn't work. Not sure what it wants me to do with 'building'.</p>
  
  <p>How do I get the query to compile?</p>