Now a days we are using System.Transactions.TransactionScope object for handle transaction. But transaction scope current limitation is that it can not work with filesystem. scenario  like I need to

i)   Add a record to database

                               ii)  Delete a file from FileSystem

                              iii)   Need to write Xml File


Contented added from a mail conversion

We use dotnet framework TransactionScope object for manage/handle database Transaction.

Often we create instance of Transactionscope object like the followings

1) var scope = new TransactionScope(TransactionScopeOption.Required, new TimeSpan(0, 0, 1, 0))


2) var scope = new TransactionScope()


Subscribe to RSS - Transaction