Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » MobiLink - 服务器管理 » MobiLink 服务器 API » 使用 .NET 同步脚本 » .NET 同步逻辑

 

事务

有关事务的一般规则适用于 .NET 方法。数据库事务的启动和运行时间对同步进程来说至关重要。事务只能由 MobiLink 服务器启动和结束。在 .NET 方法内的同步连接中显式提交或回退事务,将破坏同步进程的完整性且可能导致错误。

这些规则只适用于由 MobiLink 服务器创建的数据库连接,特别是由方法返回的 SQL 语句。