Unit Testing error while working with Transactions for the Database.
While testing the using "(var transaction = new TransactionScope())" method stated in a previous unit testing blog, I ran into an error that the code in my class could not access my local DB.
I was shown that I need to run the Distributed Transaction Coordinator. This is found under the Windows Services and can be set to automatic.
It's working fine now.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment