LINQ in Action - LINQ Book & News

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.

Published Tuesday, October 9, 2007 11:20 AM by Fabrice Marguerie


No Comments
New Comments to this post are disabled