<?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 : Transaction</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Transaction</description>
  <pubDate>Mon, 20 Apr 2026 04:18:24 -700</pubDate>
  <lastBuildDate>Thu, 05 Aug 2010 14:55:48 -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=2017</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>Transaction : You&amp;#039;re correct that every...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=8008#8008</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2017<br /><strong>Posted:</strong> 05-Aug-2010 at 2:55pm<br /><br />You're correct that every SaveChanges call is transactional.&nbsp; I'm not sure I understand the problem here, however.&nbsp;&nbsp;<DIV>&nbsp;</DIV><DIV>For one, you don't have to call SaveChanges for every entity, but can instead save the chosen (or all) entities when ready.&nbsp; So here, you can create the parent and all children and then call SaveChanges() or SaveChanges(IEnumerable).</DIV><DIV>&nbsp;</DIV><DIV>Next, if you do want to save the parent, and then later save the children, I don't understand what error you're getting, or is your question theoretical?&nbsp; If theoretical, DevForce does not directly support multiple SaveChanges calls within a single transaction.&nbsp; If your application is 2-tier you can open a TransactionScope around your SaveChanges calls and everything within will be saved or rolled back together.&nbsp; If your application is n-tier this is much harder.</DIV><DIV>&nbsp;</DIV><DIV>In general, instead of looking to&nbsp;transactions you should really be treating the parent and its children as an object graph and saving that graph with a single SaveChanges call.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 05 Aug 2010 14:55:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=8008#8008</guid>
  </item> 
  <item>
   <title>Transaction : any idea???  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7989#7989</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=862" rel="nofollow">namnl</a><br /><strong>Subject:</strong> 2017<br /><strong>Posted:</strong> 05-Aug-2010 at 12:33am<br /><br />any idea???]]>
   </description>
   <pubDate>Thu, 05 Aug 2010 00:33:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7989#7989</guid>
  </item> 
  <item>
   <title>Transaction : The built-in transaction of DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7946#7946</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=862" rel="nofollow">namnl</a><br /><strong>Subject:</strong> 2017<br /><strong>Posted:</strong> 01-Aug-2010 at 8:07pm<br /><br />The built-in transaction of DevForce seems commit after we do "SaveChanges". Can we force it commit after the last time we do "SaveChanges". For example, <br><br>//insert parent item<br>ParentItem pi = new ParentItem();<br>...//set parent item property<br>pi.EntityAspect.AddToManager();<br>mrg.SaveChanges();<br>//get parentOI<br>int parentOI= pi.oi;<br>//insert children item<br>ChildrenItem ci = new ChildrenItem();<br>...//set children item property<br>ci.EntityAspect.AddToManager();<br>mrg.SaveChanges();<br><br>I got problem when inserting children item, but ParentItem still inserted. How can i resolve this?<br>]]>
   </description>
   <pubDate>Sun, 01 Aug 2010 20:07:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7946#7946</guid>
  </item> 
  <item>
   <title>Transaction :  Browse to here: http://www....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7890#7890</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 2017<br /><strong>Posted:</strong> 28-Jul-2010 at 5:07pm<br /><br /><DIV =WordSecti&#111;n1><P =Ms&#111;normal>Browse to here:<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></P><P =Ms&#111;normal><a href="http://www.ideablade.com:8989/xwiki/bin/view/&#068;ocumentati&#111;n/SavingBusiness&#079;bjects#HSavesandTransacti&#111;nManagement" target="_blank"><U>http://www.ideablade.com:8989/xwiki/bin/view/Documentation/SavingBusinessObjects#HSavesandTransactionManagement</U></A><o:p></o:p></P><P =Ms&#111;normal><o:p>&nbsp;</o:p></P></DIV>]]>
   </description>
   <pubDate>Wed, 28 Jul 2010 17:07:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7890#7890</guid>
  </item> 
  <item>
   <title>Transaction : Hello IB support team, please...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7841#7841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=862" rel="nofollow">namnl</a><br /><strong>Subject:</strong> 2017<br /><strong>Posted:</strong> 27-Jul-2010 at 8:09pm<br /><br />Hello IB support team, please help me how to apply transaction when insert or update entity, so i can rollback whenever it has problem.<br>Thanks.<br>]]>
   </description>
   <pubDate>Tue, 27 Jul 2010 20:09:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2017&amp;PID=7841#7841</guid>
  </item> 
 </channel>
</rss>