Group: Forum Members
Posts: 533,
Visits: 2K
|
Hi,
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.
After some debugging, I found that, BO would call ResetIsSavedOnTransactionFlagOnBusinessObjects(DataSourceKey, TransactionKey) in BusinessLayer.TransactionCommit() but not in BusinessLayer.TreansactionRollback().
Is it a bug? If not, how to solve it?
Thank you
|