Sarmadjavediqbal
Sarmadjavediqbal
Yes I want to know about this as well. @MikaelHild @iammukeshm could you please suggest how to implement transactionspipeline in dotnet-web-api????
Also suggest which nuget package to use for transactions.
@kienxuandaoit89 you raised this issue last year. Have you found the solution yet???
@iammukeshm
@MikaelHild @iammukeshm I tried to implement unitOfWork pattern but I am getting following error, error: { "messages": [], "source": "Microsoft.Data.SqlClient.SqlCommand+c", "exception": "BeginExecuteReader requires the command to have a transaction when...
Thank you @MikaelHild brother but this still does not solve my problem. I am using Mediatr and mukesh's example shows the solution without mediatr.
@MikaelHild Could you please correct my code and tell me what could be wrong in it????
@MikaelHild I have figured it out. I was opening 2 connections with database where as System.Transaction allows only 1 or if you want to check and validate some value from...
This issue is resolved so can be closed now.
I tried to implement unitOfWork pattern mentioned above https://github.com/ardalis/CleanArchitecture/issues/327#issuecomment-1125938378 but I am getting following error, { "messages": [], "source": "Microsoft.Data.SqlClient.SqlCommand+c", "exception": "BeginExecuteReader requires the command to have a transaction when...