Wednesday, October 3, 2018

Transaction Scope in C#

  
we can define transaction scope by using transaction library. 
using (TransactionScope scope = new TransactionScope())
            {
               int a=5,b=10,sum=0;
                sum=a+b;
                scope.Complete();
                XtraMessageBox.Show("Record Add");
            }

No comments:

Post a Comment