Track updated/inserted entities in LINQ to SQL applications

Posted by nikolaosk on ASP.net Weblogs See other posts from ASP.net Weblogs or by nikolaosk
Published on Sun, 19 Dec 2010 17:10:00 GMT Indexed on 2010/12/20 17:40 UTC
Read the original article Hit count: 207

Filed under:
In this post I would like to discuss in further detail the issue of track changing of entities in LINQ to SQL applications. I would like to show you how the DataContext object keeps track of all the items that are updated,deleted or inserted in the underlying data store. If you want to have a look at my other post about LINQ to SQL and transactions click here . I am going to demonstrate this with a hands on example. I assume that you have access to a version of SQL Server and Northwind database....(read more)

© ASP.net Weblogs or respective owner