Snippets tagged transaction

  • Way to wrap methods to transactions

    1) Create TransactionScope, on Mono and in .NET, and the later one supports TransactionScopeAsyncFlowOption. 2) Then, complete the transaction automatically if no exceptions has been thrown. If Async or Task, then automatically await the result before complete without blocking the thread.

    3 people like this

    Posted: 7 years ago by Tuomas Hietanen