>
>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?>
>Yes, if there is no scope.Complete(), then it all gets rolled back!
>
>~~Bonnie
Ok, I'll add this to the test then. So far I've been testing the actual adding of the row (I added a bunch already).
Wondering if there is a way in .NET to find the transaction isolation level to use it when instantiating the TransactionScope?
If it's not broken, fix it until it is.
My Blog