<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx</link><description>LINQ to SQL uses optimistic concurrency be default. LINQ to SQL is pure in memory operation, because you normally get the data from database and store them in .NET memory and perform some pure in memory update to those objects and finally when you are</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#4266785</link><pubDate>Tue, 07 Aug 2007 01:11:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4266785</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;LINQ to SQL uses optimistic concurrency be default. LINQ to SQL is pure in memory operation, because&lt;/p&gt;
</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#4268469</link><pubDate>Tue, 07 Aug 2007 02:47:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4268469</guid><dc:creator>Des</dc:creator><description>&lt;p&gt;I'm sure TransactionScope was introduced in .NET 2.0 not 3.0&lt;/p&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#4281028</link><pubDate>Tue, 07 Aug 2007 21:23:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4281028</guid><dc:creator>wriju</dc:creator><description>&lt;p&gt;Hi Des, &lt;/p&gt;
&lt;p&gt;Thanks for correcting me. I have changed. &lt;/p&gt;
&lt;p&gt;Wriju&lt;/p&gt;
</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#7365053</link><pubDate>Fri, 01 Feb 2008 06:01:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7365053</guid><dc:creator>Sam</dc:creator><description>&lt;p&gt;Don't know if you resolved this issue - but try wrapping the transaction scope just around the &lt;/p&gt;
&lt;p&gt;db.SubmitChanges();&lt;/p&gt;
&lt;p&gt;statement and see if it works.&lt;/p&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#7372033</link><pubDate>Fri, 01 Feb 2008 13:09:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7372033</guid><dc:creator>Daryl</dc:creator><description>&lt;p&gt;Have I missed the point here the only difference seems to be the error message!&lt;/p&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#7380335</link><pubDate>Sat, 02 Feb 2008 04:00:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7380335</guid><dc:creator>SoftParts</dc:creator><description>&lt;P&gt;Seems to me the only difference is the error message!&lt;/P&gt;
&lt;P&gt;Pessimistic would do a 'Select for update' and tell you at that point if you can't get the row which to my of thinking was necessary with databases that don't support transactions. (Old school!)&lt;/P&gt;
&lt;P&gt;Daryl&lt;/P&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#8342988</link><pubDate>Sat, 29 Mar 2008 08:31:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8342988</guid><dc:creator>Emil</dc:creator><description>&lt;p&gt;It seems like TransactionScope is not used by LINQ. If you remove the ts.Complete() statement, the changed are not rolled back.&lt;/p&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#8343051</link><pubDate>Sat, 29 Mar 2008 09:15:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8343051</guid><dc:creator>Emil</dc:creator><description>&lt;p&gt;The reason it was not working for me was because I was using what VS2008 calls a &amp;quot;Local Database&amp;quot;, i.e. SQL Server Compact Edition. Apperantly System.Transaction does not work with the Compact Edition. This is probably due to the fact that the Compact Edition does not support nested transactions.&lt;/p&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#8357428</link><pubDate>Fri, 04 Apr 2008 19:25:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8357428</guid><dc:creator>Michael.Piccolo</dc:creator><description>&lt;P&gt;I have created a custom BaseDataContext that facilitates setting IsolationLevels for Transactions.&lt;/P&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#8554406</link><pubDate>Tue, 27 May 2008 12:56:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8554406</guid><dc:creator>Tersius</dc:creator><description>&lt;p&gt;How can you handle deletes that fail due to referential integrity? It seems there is no way to undo deleteonsubmit calls. &lt;/p&gt;</description></item><item><title>What is LINQ? LINQ Developer Resources</title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#8792934</link><pubDate>Thu, 31 Jul 2008 09:05:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8792934</guid><dc:creator>DotNetJaps</dc:creator><description>&lt;p&gt;LINQ is Language Integrated query. It is a integral part of visual studio 2008 and Microsoft .NET Framework&lt;/p&gt;
</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#8882839</link><pubDate>Thu, 21 Aug 2008 03:29:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8882839</guid><dc:creator>Richard Murillo</dc:creator><description>&lt;p&gt;To Tersius:&lt;/p&gt;
&lt;p&gt;You can use a call to InsertOnSubmit to compensate for the delete&lt;/p&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#9319129</link><pubDate>Wed, 14 Jan 2009 21:06:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9319129</guid><dc:creator>mknopf</dc:creator><description>&lt;P&gt;IMPORTANT: to use using TransactionScope you need to add a Reference in your project to System.Transactions, while this would seem obvious it actually isn't and is worth noting &lt;/P&gt;</description></item><item><title>re: LINQ to SQL : Using Transaction </title><link>http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx#9405691</link><pubDate>Sun, 08 Feb 2009 01:01:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9405691</guid><dc:creator>Jon</dc:creator><description>&lt;p&gt;So my question is on a sql database that does support transactions, will the transaction scope work? &lt;/p&gt;</description></item></channel></rss>