SQL Server CE - is an installation required (as opposed to just a DLL include)?

我只是一个虾纸丫 提交于 2019-12-06 12:25:54

Sql Server CE version 4 will not require installation but it has not been released yet (Not even a beta). You can read more about it here: New Embedded Database Support with ASP.NET

If I were you I would just stick with Sqlite. It's free, has an excellent .Net provider with Entity Framework support and is really fast.

You don't need an installation for SQL Server CE 2005. Just copy the DLLs as described on MSDN. Administrator priviliges are not required.

According to this Microsoft document:

"To install Microsoft SQL Server Compact 3.5 (SQL Server Compact 3.5) with the application, you must run the SQL Server Compact 3.5 installer for desktop computers (SSCERuntime-ENU.msi). Installing SQL Server Compact 3.5 by running the installer registers the native DLLs and puts the managed assemblies in the Global Assembly Cache. This makes sure that the installation of the SQL Server Compact 3.5 on the computer can be serviced by Microsoft Update or similar technologies in future."

See also this article (LINQ and Deploying SQL Server CE 3.5)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!