I'm in need of some short-lived transaction cache that behaves in a similar way to SQL Transaction. Where I would be able to store stuff into the cache, read from it, but NOT commit to it until some Commit() method is called. Would this be some type of library or pattern I would use?
check this class id it helps
Transaction Class
https://docs.microsoft.com/en-us/dotnet/api/system.transactions.transaction?view=netcore-3.1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.