更新时间:2023-02-17 07:48:57
是的,使用System.Transactions.TransactionScope,自.Net Core 2.0及更高版本开始提供.检查一下:
Yes man, using System.Transactions.TransactionScope, available since .Net Core 2.0 and above. check this:
在ASP.NET中使用System.Transactions: https://msdn.microsoft.com/en-us/ms229977
Using System.Transactions in ASP.NET: https://msdn.microsoft.com/en-us/ms229977
使用交易范围实施隐式交易: https://msdn.microsoft.com/en-us/ms172152
Implementing an Implicit Transaction using Transaction Scope: https://msdn.microsoft.com/en-us/ms172152