Fabrice's weblog

Tools and Source

News

My .NET Toolbox
An error occured. See the script errors signaled by your web browser.
No tools selected yet
.NET tools by SharpToolbox.com

Read sample chapters or buy LINQ in Action now!
Our LINQ book is also available on AMAZON

.NET jobs

Emplois .NET

Tuneo

ASP.NET Hosting transatlantys

Contact

Me

Others

Selected content

Archives

Logic behind LINQ to SQL's Attach() set of APIs

Dinesh Kulkarni, program manager on the LINQ to SQL project, presents the logic behind LINQ to SQL's Attach() set of APIs. Attaching and detaching objects to and from a DataContext is something that seems to be a source of confusion, based on the questions in the forums. Attaching is a useful feature especially in multi-tiered system, which often involve stateless ASP.NET applications or web services. Dinesh explains when you need to attach objects and the various options.

Make sure you also read this post about the changes in Attach's behavior between Beta2 and RTM.

Cross-posted from http://linqinaction.net

Posted: Oct 09 2007, 11:20 AM by Fabrice Marguerie | with no comments
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)