使用 Advantage Local Sever 和 FoxPro 并发更新 DBF 文件

发布于 2024-08-26 17:09:35 字数 108 浏览 6 评论 0原文

当 FoxPro 应用程序正在运行且也可能访问 DBF 文件时,使用 Advantage Local Server .Net 提供程序更新 DBF 文件是否安全?即 Advantage 是否负责行锁定?

Is it safe to update DBF files using Advantage Local Server .Net provider whilst a FoxPro application is running that may also be accessing the DBF files? i.e. does Advantage take care of row locking?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝不服输 2024-09-02 17:09:35

Advantage 可用于使用我们的兼容性锁定在 .NET 应用程序和 VFP 应用程序之间进行并发访问。当处于兼容性锁定模式时,Advantage 使用与 VFP 相同的机制访问表。因此行锁定将由 Advantage 处理。

Advantage .NET 数据提供程序还包含一个名为 AdsExtendedDataReader 的附加对象,它提供更多 ISAM 功能。您可以使用 AdsExtendedDataReader 显式锁定记录。 您可以获得更多信息在这里。

Advantage can be used for concurrent access between a .NET application and a VFP application using our compatibility locking. When in compatibility locking mode Advantage accesses the tables using the same mechanism as VFP. Therefore row locking will be handled by Advantage.

The Advantage .NET data provider also contains an additional object called AdsExtendedDataReader which provides more ISAM functionality. You can use an AdsExtendedDataReader to explicitly lock records. You can get more information here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文