﻿<?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?)  / Documentation issue / 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>Wed, 07 Jan 2009 16:45:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Documentation issue</title><link>http://forum.strataframe.net/Topic542-6-1.aspx</link><description>Thanks.  We will take care of it.</description><pubDate>Mon, 13 Mar 2006 12:36:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Documentation issue</title><link>http://forum.strataframe.net/Topic542-6-1.aspx</link><description>In this sample:Public Sub SaveAllOnTransaction()&lt;br&gt;    '-- Add a try around the transaction processing&lt;br&gt;    '   This enables the process to call TransactionRollback()&lt;br&gt;    '   if anything bad happens during the transaction process.&lt;br&gt;    Try&lt;br&gt;        '-- Start the transaction&lt;br&gt;        BusinessLayer.TransactionBegin(Data.IsolationLevel.ReadCommitted)&lt;br&gt;        &lt;br&gt;        '-- Save the business objects on the transaction&lt;br&gt;        Me.Customers.Save(True)&lt;br&gt;        Me.Orders.Save(True)&lt;br&gt;        Me.OrderItems.Save(True)&lt;br&gt;        &lt;br&gt;        '-- When business objects are saved on the transaction, the&lt;br&gt;        '   pending changes to their internal DataTables are NOT saved&lt;br&gt;        '   until TransactionEnd() is called...&lt;br&gt;        '-- Call transaction end to commit the transaction queries and&lt;br&gt;        '   accept the pending changes on all of the business objects&lt;br&gt;        '   that participated in the transaction.&lt;br&gt;        BusinessLayer.TransactionEnd()&lt;br&gt;    &lt;br&gt;    Catch ex As Exception&lt;br&gt;        '-- If an exception occurs during the saving of the records, then &lt;br&gt;        '   abort the transaction.&lt;br&gt;        BusinessLayer.TransactionRollback()&lt;br&gt;    End Try&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;TransactionEnd should be TransactionCommit&lt;br&gt;and&lt;br&gt;Data.IsolationLevel.ReadCommitted does not compile.&lt;br&gt;It should either be System.Data.IsolationLevel.ReadCommitted&lt;br&gt;or&lt;br&gt;IsolationLevel.ReadCommitted&lt;br&gt;&lt;br&gt;I think.</description><pubDate>Fri, 10 Feb 2006 19:11:08 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item></channel></rss>