使用 SQL Server CE 和 SQL Server Express

发布于 2024-11-18 02:04:35 字数 300 浏览 6 评论 0原文

我有一个当前使用 SQL Server CE 的应用程序,架构位于 .sdf 文件中。现在我们想让它基于某种模式连接到SQL Server Express版本。

我有几个问题:

  1. 两个数据库的 Linq-to-SQL 文件(由 sql metal 生成)是否相同(除了名称等)

  2. 我们可以使用为 .sdf 生成的 linq 文件,并将其扩展到 SQL Server表达并覆盖任何数据库特定的东西 那里?或者混合使用它们是否不明智?

I have an app which currently uses SQL Server CE, and the schema is in a .sdf file. Now we want to allow it to connect to a SQL Server Express edition based on some mode.

I have a couple of questions:

  1. Will the Linq-to-SQL files (generated by sql metal) be the same for the both the databases (apart from the name etc)

  2. Can we use the linq file generated for .sdf, and extend it for the SQL Server Express, and override any DB specific things there? Or is it not advisable to mix both of them ?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文