且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

部署Visual Studio 2010数据库项目

更新时间:2022-12-31 10:58:22

是否可以将Visual Studio指向您的新目标数据库? 1.您的数据库项目的属性,部署选项卡,设置目标数据库设置中的字段。

Is it's possible to point your Visual Studio to your new target database? 1. Properties of your Database project, Deploy tab, set the fields in Target Database Settings.

现在生成部署脚本时,生成的SQL文件将是各种CREATe / ALTER / DROP等,它们将使目标数据库与您的模式一致。

Now when you generate a deploy script, the resulting SQL file will be the various CREATe / ALTER / DROP etc that will align the target database with your schema.