database Microsoft 是否会在 Visual Studio 中放弃对 SDF 数据库文件的支持?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18598506/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 09:04:14  来源:igfitidea点击:

Is Microsoft dropping support for SDF database files in Visual Studio?

databasevisual-studiosql-server-ce

提问by jAsOn

In Visual Studio 2013 there is no longer an option to create .sdfSQL Server Compact databases in WebPages (WebMatrix) websites. I am no longer able to view .sdfdatabase files in Visual Studio either. I downloaded the latest version of WebMatrix to open my .sdfdatabase but WebMatrix crashes when I open my website. When I create a new empty site and add existing files, it crashes.

在 Visual Studio 2013 中,不再提供.sdf在网页 (WebMatrix) 网站中创建SQL Server Compact 数据库的选项。我也无法再.sdf在 Visual Studio 中查看数据库文件。我下载了最新版本的 WebMatrix 来打开我的.sdf数据库,但是当我打开我的网站时 WebMatrix 崩溃了。当我创建一个新的空站点并添加现有文件时,它崩溃了。

I searched for days for a way to view and edit my .sdfdatabase and nothing is working. I can no longer get Navicat SQL Server app to open a database. I cannot get LinqPad to open an .sdfdatabase file, I cannot get Compact Viewer to open or edit .sdfdatabases. I canopen.sdfdatabases with SqlCEToolbox40.exebut it only shows top 200 rows andit won't let me edit the tables.

我搜索了几天以寻找一种查看和编辑我的.sdf数据库的方法,但没有任何效果。我无法再让 Navicat SQL Server 应用程序打开数据库。我无法使用 LinqPad 打开.sdf数据库文件,无法使用 Compact Viewer 打开或编辑.sdf数据库。我可以打开.sdf数据库,SqlCEToolbox40.exe但它只显示前 200 行它不会让我编辑表。

Now I'm completely stumped. How do I view andedit a .sdfdatabase file?

现在我完全被难住了。如何查看编辑.sdf数据库文件?

回答by giammin

The answer is yes: Microsoft is silently dropping support (as usual IMHO) to Sql Compact Edition.

答案是肯定的:微软正在默默地放弃对 Sql Compact Edition 的支持(像往常一样,恕我直言)。

It started abandoning Sql CE 3.5 in Vs2012 It continued dropping Sql CE in Sql Management Studio 2012 and finally in VS2013

它开始在 Vs2012 中放弃 Sql CE 3.5 它继续在 Sql Management Studio 2012 中放弃 Sql CE,最后在 VS2013

You can use CompactViewor install SQL Server Compact Toolboxextension in VS2013 or (my prefered solution) use Sql management Studio 2008

您可以在 VS2013 中使用CompactView或安装 SQL Server Compact Toolbox扩展,或者(我的首选解决方案)使用Sql management Studio 2008

UPDATE thanks to Nicolas' comment

更新感谢尼古拉斯的评论

As stated by Microsoft:

正如微软所说

SQL Server compact edition is in deprecation mode with no new releases planned near future. Last release SQL CE 4.0SP1 (and earlier releases that are still in the support cycle) will continue to be supported through its lifecycle and Microsoft is committed to fix any major, production blocking issues found in these releases.

SQL Server 精简版处于弃用模式,近期没有新版本计划。最新版本的 SQL CE 4.0SP1(以及仍处于支持周期的早期版本)将在其整个生命周期内继续得到支持,并且 Microsoft 致力于修复这些版本中发现的任何主要的、生产阻塞问题。