Update Detached Entities
Probably one of the most asked questions with LINQ to SQL, is how do you update detached entities. Often people will simply resort to doing a SELECT to get the entity into the datacontext and then update the data.
Steve Michelotti describes how to do it here:
http://geekswithblogs.net/michelotti/archive/2007/12/17/117791.aspx
and if your entity has child objects check this post out:
http://geekswithblogs.net/michelotti/archive/2007/12/30/118076.aspx
Entity Framework Tutorial/Overview
For an excellent write up on Entity Framework that is both an overview and tutorial in one, see Stefan Cruysberghs 3 part series.
It covers enough that it’s not too much information, but detailed enough to get you going rapidly.
Optimistic Concurrency Updates with Entity Framework
Cesar de la Torre has an excellent write up for managing concurrency with the Entity Framework.