从SQLCE 4迁移到SQL Server 2008 [英] Migrate from SQLCE 4 to SQL Server 2008

查看:204
本文介绍了从SQLCE 4迁移到SQL Server 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,作为一个早期采用者,我已经开发了基于SQLCE4,ASP.Net MVC3和<一个应用程序href=\"http://www.microsoft.com/downloads/en/details.aspx?FamilyID=35adb688-f8a7-4d28-86b1-b6235385389d\"相对=nofollow>实体框架CTP5 (code第一)的基础上通过阅读的本公告

So, being an early adopter, I have developed an application based on SQLCE4, ASP.Net MVC3 and Entity Framework CTP5 (code first) based on a fit of recklessness induced by reading this announcement.

现在应用程序移动到生产,我们需要失去了CE支持的SQL Server 2008及更高版本天青。

Now the application is moving into production and we need to lose the ce in favour of SQL Server 2008 and later azure.

斯科特谷提到的工具将很快出来了支持这种迁移,但我不知道如果我们过早地采取简单的方法的优势。

Scott Gu mentioned that tooling would be out soon to support such migrations but I wonder if we're too early to take advantage of an easy route.

没有人这样做呢?有一个简单的迁移路径?像密度板制作的东西在Visual Studio中的脚本选项?

Anyone done it? Is there a simple migration path? Something like the MDF create script option in Visual Studio?

推荐答案

你有没有看的SQL Server Compact工具箱 SQL精简上codePLEX数据和架构脚本实用

它可以让你的脚本架构和
  数据到SQL文件,它可以用来
  在任何情况下。它还脚本DML
  在SSMS脚本中使用。

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.

您可以使用生成的脚本
  文档,程序脚本
  SQL的Compact数据库文件,或者
  架构的迁移和数据到SQL
  服务器(前preSS)2005或更高版本。

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

这篇关于从SQLCE 4迁移到SQL Server 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆