Business Layer -> Common Business object Tasks -> Using Transactional Processing
What if I need to have a small process execute after save my screen records? I want it to be executed only if PrimaryBusinessObject save successfully. However, it this small process fail somewhere, I want to rollback EVERYTHING.
How to do this? Which sample can I refer to?
Thank you
In most cases, when transactions are used it is in an environment where you are already in code adding a lot of records and will be calling the Save() method directly, in which case you can go ahead and save on a transaction. When in a MaintenanceFormToolstrip situation, in most cases, there are generally few records and not in a high volume or transaction oriented environment....that is why this has never been added.
Fran Parker
MaxQ Technologies, Inc.