>>This is the something I started to read to see if I can incorporate in that particular test >> >>http://stackoverflow.com/questions/224689/transactions-in-net > >Yes, I was just about to suggest using TransactionScope ... which is mentioned in the above link. We use TransactionScope all the time. Works great. In fact, I have a blog post you might be interested in: > >http://geek-goddess-bonnie.blogspot.com/2010/12/transactionscope-and-sqlserver.html > >In the examples in my post, notice that you can do anything you want inside that TransactionScope block ... for example, call many different methods which it seems is what you want to do. > >~~Bonnie
Say, I do want a transaction and I do want everything to happen, but at the end, I don't want to commit it. Do I simply omit scope.Complete() and expect it will be rollbacked at the end of the using statement?