You have an answer that I will give you, TransactionScope.
The goal of this is to automatically join your connections to an existing transaction.
using(System.Transacation.TransactionScope myScope = new TransactionScope()){ //all of your sql connections and work in here //call this to commit, else everything will rollback myScope.Complete(); }
Take a look at the transaction here:
http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx
If this does not answer your question, I did not fully understand it.
source share