LINQ in Action roller

LINQ to SQL

Hi all, I am new to LINQ and exploring LINQ using VS Orcas with C# 3.0 and .NET framework 3.5. I used "Linq to SQL file" template to create a mapping. Then in my sample form app, I added the following var local = from c in Customer where c.CustomerID > 0 select new { id = CustomerID }; it complains that customer does NOT contain a definition for 'where'. 1) Am I missing any #using namespace ? 2) Am I doing it right by using mapping template ? BTW, I can see that the template already Read More...
Published Monday, June 18, 2007 11:15 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication