Dispose connection first, then dispose TransactionScope, otherwise the connection can't go back to connection pool. Just like create scope first then open the connection.
转载于:https://www.cnblogs.com/pootow/archive/2010/05/20/1740148.html
Dispose connection first, then dispose TransactionScope, otherwise the connection can't go back to connection pool. Just like create scope first then open the connection.
转载于:https://www.cnblogs.com/pootow/archive/2010/05/20/1740148.html