Create a database in SQL Server(SQL Server Express), create a table with the following sql statement:
Check the database, we would find nothing written to database, because there is an exception in TransactionScope Activity. Database ... [More]
You should find that the confirmation handler execution is inverse.
You should find that "token" is only related with compensable handler2
Scenario 3(append a compensate activity to the workflow):
As we know that parallel will not finish execution until all its child branches finished. Sometimes, we want to break the parallel if one of its branch finished execution and cancel other branches. To do this, we can use CancellationScope activity. In this sample, we want to order products from two ... [More]