Closed bakosk closed 2 years ago
it would be nice if ITransaction.Commit() method could accept cancelation token and rollback transaction if provided. If it is feasible() :)
It could be something like this https://learn.microsoft.com/en-us/dotnet/api/system.data.common.dbtransaction.commitasync?view=net-6.0&viewFallbackFrom=dotnet-plat-ext-6.0#system-data-common-dbtransaction-commitasync(system-threading-cancellationtoken)
I'll look into it
it would be nice if ITransaction.Commit() method could accept cancelation token and rollback transaction if provided. If it is feasible() :)
It could be something like this https://learn.microsoft.com/en-us/dotnet/api/system.data.common.dbtransaction.commitasync?view=net-6.0&viewFallbackFrom=dotnet-plat-ext-6.0#system-data-common-dbtransaction-commitasync(system-threading-cancellationtoken)