Updating with linq

30 Sep

Below is a class model created for the Northwind sample database and which I'll be using in this blog post: When we designed our data model using the LINQ to SQL data designer above we defined five data model classes: Product, Category, Customer, Order and Order Detail.

Older Release The Re-Release As promised, this release merges the features of previous releases into the one bundle.

I'll also show how we can cleanly integrate business rules and custom validation logic with our data model.

In Part 2 of this series I walked through how to create a LINQ to SQL class model using the LINQ to SQL designer that is built-into VS 2008.

NET Framework 3.5 release, and which enables you to easily model relational databases using . You can use LINQ expressions to query the database with them, as well as update/insert/delete data.

Below are the first three parts of my LINQ to SQL series: In today's blog post I'll cover how we we can use the data model we created earlier, and use it to update, insert, and delete data.