LINQ to SQL and Transactions

Posted by: Rick Strahls WebLog, on 14 Jul 2009 | View original | Bookmarked: 0 time(s)

LINQ to SQL handles a lot of functionality out of the box for you, including the ability to perform updates under transaction contexts for you transparently. If you modify, add or delete instances of entities the changes are updated in the context of a transaction when SubmitChanges() is called. This covers a wide range of operations and this is as it should be for an ORM: Transactions should be handled mostly transparently. Every once in a while though you may need to perform some update tasks...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: SQL | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1108 | Hits: 95

Similar Posts

  • SQLAuthority News Meeting SQL Friends SQLPASS 2011 Event Log more
  • SQLAuthority News SQLPASS Today FREE 100 SQL Wait Stats Book Print Copy Book Signing more
  • SQLAuthority News SQLPASS 100 SQL Wait Stats Book Print Copy Giveaway A Book Every Minute for an Hour Tomorrow more
  • SQLAuthority News SQL Server Health Check Service Speed UP SQLServer more
  • Comparing LINQ to SQL vs the classic SqlCommand more
  • Connecting to SQL Azure with Telerik OpenAccess more
  • Migrating to Postgresql with my friend NHibernate more
  • Migrated from Community Server to DasBlog more
  • LINQ to SQL, Lazy Loading and Prefetching more
  • "ADO.NET Entity data model" or "edmx" or "L2E" debug visualizer more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD