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
In this section of TransactionScopeAspectAsync method, why finally block is being used? I think that catch block should be used instead finally to rollback in any error case. Otherwise, all transactions will be rolled back even if it is successfull.
The text was updated successfully, but these errors were encountered:
DevArchitecture/Core/Aspects/Autofac/Transaction/TransactionScopeAspectAsync.cs
Lines 16 to 29 in a3936a3
In this section of
TransactionScopeAspectAsync
method, whyfinally
block is being used? I think thatcatch
block should be used insteadfinally
to rollback in any error case. Otherwise, all transactions will be rolled back even if it is successfull.The text was updated successfully, but these errors were encountered: