You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a need for suppressing transactions in the SqlDatabaseTraceListener.
If you use Trace inside a transaction you don't want to put all your trace-lines inside a TransactionScopeOption.Suppress-scope in case the diagnostics framework has been configured for writing to another database server without proper DTC in place.
I guess it would be pretty simple to add a using (var scope = new TransactionScope(TransactionScopeOption.Suppress)) to the WriteToDatabase-method?
The text was updated successfully, but these errors were encountered:
There is a need for suppressing transactions in the SqlDatabaseTraceListener.
If you use Trace inside a transaction you don't want to put all your trace-lines inside a TransactionScopeOption.Suppress-scope in case the diagnostics framework has been configured for writing to another database server without proper DTC in place.
I guess it would be pretty simple to add a using (var scope = new TransactionScope(TransactionScopeOption.Suppress)) to the WriteToDatabase-method?
The text was updated successfully, but these errors were encountered: