﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Business Objects and Data Access (How do I?)  / TransactionKey property / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 07 Oct 2008 12:55:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: TransactionKey property</title><link>http://forum.strataframe.net/Topic15532-6-1.aspx</link><description>No problem :)</description><pubDate>Fri, 11 Apr 2008 09:07:34 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: TransactionKey property</title><link>http://forum.strataframe.net/Topic15532-6-1.aspx</link><description>Thanks for quick response.</description><pubDate>Fri, 11 Apr 2008 08:54:09 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: TransactionKey property</title><link>http://forum.strataframe.net/Topic15532-6-1.aspx</link><description>[quote]&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;When do I need simultaneous transactions ? I mean, When will be more than one transactions in that collection. So I will follow a key.&lt;/FONT&gt;&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;P&gt;The beauty of StrataFrame is that you can have different business objects saving on different transactions.  When you call the Save you can supply the transaction key.  So if you start more than one transaction you will have more than one in this collection.  This allows some BOs to be saved on Transaction A, others on Transaction B, and some not on a transaction if you have this need.</description><pubDate>Fri, 11 Apr 2008 08:48:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>TransactionKey property</title><link>http://forum.strataframe.net/Topic15532-6-1.aspx</link><description>I think this key is used to get DbTransaction object from  Transaction Collection.&lt;/P&gt;&lt;FONT color=#2b91af size=2&gt;&lt;P&gt;(DataBasics&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.DataSources[""].Transactions).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Normally, When BusinessLayer.TransactionBegin is called a DbTransaction Object is added to the collection with a default key value. This default transaction will be used.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;When do I need simultaneous transactions ? I mean, When will be more than one transactions in that collection. So I will follow a key.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 11 Apr 2008 08:39:28 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item></channel></rss>