Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
执行检查点操作,将所有待执行的已提交事务刷新到数据库中。
public virtual bool Checkpoint()
如果成功,则返回 true;否则返回 false。
调用 Checkpoint 方法将不会提交任何当前事务。此方法与推迟自动事务检查点联合使用(使用 commit_flush 连接参数)以增强性能。
Checkpoint 方法会确保已将所有待执行的已提交事务写入数据库中。