Check out example codes for "c# sql transaction multiple connections". It will help you in understanding the concepts better.

Code Example 1

using(System.Transaction.TransactionScope myScope = new TransactionScope()){
  //all of your sql connections and work in here

  //call this to commit, else everything will rollback
  myScope.Complete();
}

Learn ReactJs, React Native from akashmittal.com