sql-server - 从 SQLCE 4 迁移到 SQL Server 2008

标签 sql-server asp.net-mvc entity-framework sql-server-ce

因此,作为早期采用者,我开发了一个基于 SQLCE4、ASP.Net MVC3 和 Entity Framework CTP5 的应用程序。 (首先是代码)基于阅读 this announcement 引起的鲁莽行为.

现在应用程序正在投入生产,我们需要放弃 ce,转而使用 SQL Server 2008 及更高版本的 azure。

Scott Gu 提到很快就会推出支持此类迁移的工具,但我想知道我们是否还为时过早,无法利用简单的路线。

有人做过吗?有没有简单的迁移路径?类似 Visual Studio 中的 MDF 创建脚本选项吗?

最佳答案

你看过SQL Server Compact Toolbox 吗?和 SQL Compact data and schema script utility在 Codeplex 上?

It allows you to script schema and data to a .sql file, which can be used in any context. It also scripts DML for use in SSMS scripts.

You can use the resulting script for documentation, programmatic scripting of SQL Compact database files, or migration of schema and data to SQL Server (Express) 2005 or later

关于sql-server - 从 SQLCE 4 迁移到 SQL Server 2008,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5716668/

相关文章:

c# - 使用简单注入(inject)器注册多个DbContext

c# - 具有多个数据源的 Entity Framework

sql - 计算不同记录(所有列)不起作用

sql - 透视和交叉应用

sql-server - 左连接表 A 和表 B

c# - 使用 System.IdentityModel.Tokens.Jwt 从 1.1 迁移到 2.0 后,JWTAuthentication 在 asp.net core 2.0 中不起作用 - 5.1.4 更新

c# - ASP.NET 样板中的 DeleteRange 函数

sql-server - 更改SQL Server Management Studio的默认安装路径

javascript - 使用局部 View 、JQuery 和引导模式编辑记录

c# - ASP.NET Core 2.2 在多对多插入时返回 "NotSupportedException: Collection was of a fixed size"