将 SQL CE 2.0 数据库升级到 SQL CE 3.5 数据库

发布于 2024-08-26 18:59:08 字数 104 浏览 3 评论 0原文

有人进行过升级吗?

如果是的话,是如何做到的。我记得在 PDA 上的命令行上修改运行一个程序,但它没有按预期工作。

在 PDA 上运行命令行程序对任何人都有效吗?

Has anybody performed the upgrade?

If yes, how is it done. I remember tinkering with running a program on command line on the PDA and that it did not work as expected.

Has running the command line program on the PDA worked for anyone?

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

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

发布评论

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

评论(2

江挽川 2024-09-02 18:59:08

很抱歉发布这个问题。我们能够使用以下方法升级项目。
我们必须将upgrade.exe 复制到PDA 上。

System.Diagnostics.Process p = System.Diagnostics.Process.Start(
@"\Program Files\client\upgrade.exe"
, @"/s ""\Program Files\client\database.sdf"" /sp ""password"" /d ""\Program Files\client\convertedDB.sdf"" /dp ""password"" /e /q");

希望有人觉得这有帮助。

Sorry for posting the question. We were able to upgrade the project using the method below.
We had to copy the upgrade.exe to the PDA tough.

System.Diagnostics.Process p = System.Diagnostics.Process.Start(
@"\Program Files\client\upgrade.exe"
, @"/s ""\Program Files\client\database.sdf"" /sp ""password"" /d ""\Program Files\client\convertedDB.sdf"" /dp ""password"" /e /q");

Hopefully someone finds this helpful.

无尽的现实 2024-09-02 18:59:08

如果您以编程方式执行此操作,为什么要使用升级实用程序进行破解?为什么不直接使用 升级方法SqlCeEngine 类

If you're doing this programmatically, why hack using the Upgrade utility? Why not just use the Upgrade method present in the SqlCeEngine class?

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