Pro LINQ pp 463-475 | Cite as

LINQ to SQL Introduction


In Listing 12-1, I used LINQ to SQL to query the record whose CustomerID field is “LAZY” from the Northwind database Customers table and to return a Customer object representing that record. I then updated the Customer object’s ContactName property and saved the change to the Northwind database by calling the SubmitChanges method. That’s not much code considering it is also detecting concurrency conflicts and resolving them if they occur.


Visual Studio Database Table Mapping File Impedance Mismatch Entity Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Joseph C. Rattz, Jr. and Dennis Hayes 2009

Personalised recommendations