Answers for "c# sql transaction multiple connections"

SQL
0

c# sql transaction multiple connections

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();
}
Posted by: Guest on September-02-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language