Transactions and WWF

according to Nate (MS), there are two ways to get a transaction in your workflow. 
1°You can model the transaction in your flow using the TransactionScopeActivity which works in a manner analogous to System.Transactions.TransactionScope

using (TransactionScope scope = new TransactionScope())

The equivalent workflow would look like:



2°The other option is to delay the work until the next commit point and borrow the persistence transaction using batching.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s