﻿<?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 - V1 » Business Objects and Data Access (How do I?)  » BO.IsDirty return wrong value once error occurred during save</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Jul 2026 23:24:08 GMT</lastBuildDate><ttl>20</ttl><item><title>BO.IsDirty return wrong value once error occurred during save</title><link>http://forum.strataframe.net/FindPost20974.aspx</link><description>Hi,&lt;br&gt;
I have problem that, whenever that is exception happened/thrown during save (after BusinessLayer.TransactionBegin() is called), BO.IsDirty would always return false (due to _IsSavedOnTransaction is true) even though BusinessLayer.TransactionRollback() is called after that. I tried to call ChangesExistOnCurrentDataTable() manually and it return true to indicate that are some dirty records.&lt;br&gt;
&lt;br&gt;
After some debugging, I found that, BO would call             ResetIsSavedOnTransactionFlagOnBusinessObjects(DataSourceKey, TransactionKey) in BusinessLayer.TransactionCommit() but not in BusinessLayer.TreansactionRollback().&lt;br&gt;
&lt;br&gt;
Is it a bug? If not, how to solve it?&lt;br&gt;
&lt;br&gt;
Thank you&lt;br&gt;</description><pubDate>Wed, 03 Dec 2008 10:01:05 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: BO.IsDirty return wrong value once error occurred during save</title><link>http://forum.strataframe.net/FindPost20987.aspx</link><description>Look at this post:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost20985.aspx"&gt;http://forum.strataframe.net/FindPost20985.aspx&lt;/A&gt;</description><pubDate>Wed, 03 Dec 2008 10:01:05 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>