Dotnet

 

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

Inital Requrement: Need to update some data based on schedule basis.

 

 

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))

      Or

2) var scope = new TransactionScope()

      Or

Subscribe to RSS - Dotnet