<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : isolation level</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : isolation level</description>
  <pubDate>Sun, 12 Apr 2026 00:24:09 -700</pubDate>
  <lastBuildDate>Wed, 16 Feb 2011 15:47:21 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2512</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>isolation level :  Hi BillG;Here&amp;#039;s an example....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2512&amp;PID=9973#9973</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2512<br /><strong>Posted:</strong> 16-Feb-2011 at 3:47pm<br /><br />Hi BillG;<div><br></div><div>Here's an example. 1 for saving, 1 for querying.</div><div><br></div><div><div>TransactionSettings settings = new TransactionSettings(System.Transactions.IsolationLevel.ReadCommitted,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new TimeSpan(0, 1, 0));</div><div><br></div><div>mgr.DefaultSaveOptions.TransactionSettings = settings;</div></div><div><br></div><div><div>TransactionSettings settings2 = new TransactionSettings(System.Transactions.IsolationLevel.Serializable,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new TimeSpan(0, 1, 0));</div><div><br></div><div>QueryStrategy qs = new QueryStrategy(QueryStrategy.Normal, settings2);</div><div>mgr.DefaultQueryStrategy = qs;</div></div><div><br></div><div>And the link to our DRC that briefly talks about this.&nbsp;</div><div><br></div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/Transacti&#111;nal-Queries" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/Transactional-Queries</a></div><div><br></div><div>Hope this helps.</div><span style="font-size:10px"><br /><br />Edited by DenisK - 16-Feb-2011 at 3:47pm</span>]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 15:47:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2512&amp;PID=9973#9973</guid>
  </item> 
  <item>
   <title>isolation level : Can you provide an example of...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2512&amp;PID=9970#9970</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 2512<br /><strong>Posted:</strong> 16-Feb-2011 at 12:08pm<br /><br />Can you provide an example of setting the isolation level?<DIV>&nbsp;</DIV><DIV>Bascially what I need is I have a method that grabs the next invoice # from a table, increments it and saves it back to the table. I want the above to be part of the same transaction and I want to block other users from grabbing a number until another user has written back the next number.</DIV><DIV>&nbsp;</DIV><DIV>Bill</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 12:08:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2512&amp;PID=9970#9970</guid>
  </item> 
 </channel>
</rss>