扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
you started the transaction. But what happens if you want to roll back only part of an ongoing transaction?
SQL Server handles this with a feature called savepoints.
Savepoints are markers that act like bookmarks. You mark a certain point in the flow of the transaction,
and then you can roll back to that point. You set the savepoint using the Transaction.Save()
method. Note that the Save() method is available only for the SqlTransaction class, because it’s not
part of the standard IDbTransaction interface.
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流