Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
提交数据库事务。
Public Overrides Sub Commit()
public override void Commit()
提交或回退事务后,连接恢复为在执行操作时自动提交所有操作。要将更多操作组合在一起,必须创建一个新事务。
如果由于数据库错误(例如,参照完整性错误)而导致 Commit() 失败,则事务会保持活动状态。更正错误并再次调用 Commit() 方法或调用 ULTransaction.Rollback() 以完成事务。