简体   繁体   English

如何使用 Visual Studio Community 2015 RC 将 SQL Server 数据库置于版本控制之下?

[英]How do I put a SQL Server database under version control using Visual Studio Community 2015 RC?

I would like to put my database schema and its data in my git repository and have it version controlled, just like my code.我想把我的数据库模式和它的数据放在我的 git 存储库中并对其进行版本控制,就像我的代码一样。

I have SQL Server 2008 R2 and Visual Studio Community 2015 RC.我有 SQL Server 2008 R2 和 Visual Studio Community 2015 RC。 I know that Visual Studio 2010 upwards, Database project templates have been introduced to do just this.我知道 Visual Studio 2010 以上,已经引入了数据库项目模板来做到这一点。 Please see this article for example.例如,请参阅这篇文章 But I don't find those templates in my Visual Studio Community Edition 2015 RC installation.但是我在 Visual Studio Community Edition 2015 RC 安装中没有找到这些模板。

Sticking to RC isn't very viable in the long term.从长远来看,坚持使用 RC 并不是很可行。 Especially now, when Visual Studio 2015 RTM has been released.尤其是现在,Visual Studio 2015 RTM 已经发布。

Unless you have some really strong incentive to stay on Release Candidate, I would recommend to:除非你有一些非常强烈的动机继续使用 Release Candidate,否则我建议:

  1. Get RTM Express Edition for free, whichever suits you best.免费获取RTM Express Edition ,选择最适合您的那个。 SSDT 2015 is compatible with Web and Windows Desktop ; SSDT 2015 兼容Web 和 Windows 桌面
  2. Get SSDT 2015 (again, for free) and install on top of that.获取SSDT 2015 (再次免费)并在此基础上进行安装。

AFAIR, that should give you SQL Server database projects and everything else you might need. AFAIR,这应该为您提供 SQL Server 数据库项目以及您可能需要的所有其他内容。 The only catch is that, as usual, it will be a somewhat longer route if you have ever had any CTP / RC versions installed on the same Windows instance before.唯一的问题是,像往常一样,如果您之前曾在同一个 Windows 实例上安装过任何 CTP/RC 版本,那么这条路线会稍微长一些。 Then again, it's nothing new.再说一遍,这不是什么新鲜事。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Visual Studio的Git源代码控制提供程序对SQL Server数据库进行版本控制 - How to version control SQL Server database with Visual Studio's Git Source Control Provider 如何将 LocalDB 添加到 Visual Studio 2015 社区的 SQL Server 对象资源管理器? - How to add LocalDB to Visual Studio 2015 Community's SQL Server Object Explorer? 如何在Visual Studio 2015中为SQL Server创建数据库关系图? - How to create a database diagram for SQL Server in Visual Studio 2015? 与Visual Studio 2015中的SQL Server数据库进行交互 - Interacting with SQL Server database in Visual Studio 2015 如何保存日期和时间,然后在datagridview中将它们从新到旧排序,我正在使用Visual Studio 2015和SQL服务器 - How do I save date and time and then sort them from new to old in datagridview, I'm using Visual Studio 2015 and SQL server 如何在Visual Studio 2015中使用C#创建到SQL Server数据库的连接字符串 - How to create a connection string using C# to SQL Server database in Visual Studio 2015 如何使用Visual Studio 2015备份服务器Exp中的数据库 - How to back up database in server exp using Visual Studio 2015 如何在 Visual Studio 2022 中使用已连接的 SQL 服务器数据库进行查询? - How do I make a query using my connected SQL Server Database in Visual Studio 2022? Visual Studio 2015 错误(检测到不兼容的 SQL 服务器版本) - Visual Studio 2015 Error ( An incompatible SQL Server Version was detected ) 将 Azure SQL 数据库置于 Git 版本控制下 - Put Azure SQL Database under Git version control
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM