简体   繁体   English

用于Visual Studio的Microsoft SQL Server特定的分析器和脚本生成器> 2010?

[英]Microsoft SQL Server-specific Parser and Script Generator for Visual Studio > 2010?

At MSDN, there is a documentation to Microsoft.Data.Schema.ScriptDom.Sql Namespace which contains useful engine for creation and parsing of the T-SQL syntax tree . 在MSDN上,有一个Microsoft.Data.Schema.ScriptDom.Sql Namespace的文档,其中包含用于创建和解析T-SQL语法树的有用引擎 However, this seems to be available only with Visual Studio 2008 and 2010. 但是,这似乎仅适用于Visual Studio 2008和2010。

Did Microsoft produce a successor of this library past the Visual Studio 2010? Microsoft是否通过Visual Studio 2010生成了此库的后续版本?
Or was the entire thing discontinued? 还是整个事情都停止了?

Microsoft.Data.Schema.ScriptDom and Microsoft.Data.Schema.ScriptDom.Sql was merged in to a single assembly and was moved out of visual studio and moved in to the Sql Server SDK starting with Server 2012. Microsoft.Data.Schema.ScriptDomMicrosoft.Data.Schema.ScriptDom.Sql合并到一个程序集中,并从Visual Studio移出并从Server 2012开始移入Sql Server SDK。

It can now be found under the Microsoft.SqlServer.TransactSql.ScriptDom namespace and can be found at C:\\Program Files (x86)\\Microsoft SQL Server\\###\\SDK\\Assemblies where ### is 110 or higher and you have the SDK installed. 它现在可以在Microsoft.SqlServer.TransactSql.ScriptDom命名空间下找到,可以在C:\\Program Files (x86)\\Microsoft SQL Server\\###\\SDK\\Assemblies ,其中###110或更高并且你已安装SDK。

When you install the SDK it should register the dll with the GAC so if you just search for ScriptDom in the "Add Reference" all installed versions should show up. 当您安装SDK时,它应该使用GAC注册dll,因此如果您只是在“添加引用”中搜索ScriptDom ,则应显示所有已安装的版本。

在此输入图像描述

In the above image I have Visual Studio 2010 (version 10), Sql Server 2012 (version 11), and Sql Server 2014 (version 12) installed on my machine. 在上面的图像中,我在我的机器上安装了Visual Studio 2010(版本10),Sql Server 2012(版本11)和Sql Server 2014(版本12)。

暂无
暂无

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

相关问题 适用于开发人员的SQL Server 2008和Visual Studio 2010 - SQL Server 2008 and Visual studio 2010 for Developers 使用Visual Studio 2010将XML批量加载到SQL Server 2012中 - Bulk Loading XML Into SQL Server 2012 using Visual Studio 2010 在Visual Studio 2010 Professional中找不到与“ CLR SQL Server触发器”一起使用的“ SQL Server Project”模板 - Not able to find the “SQL Server Project” template in Visual Studio 2010 Professional to work with CLR SQL Server Trigger SQL Server 2008和Visual Studio 2010 Express版本的SQL Server - SQL Server 2008 vs Visual Studio 2010 Express version of SQL Server 特定于应用程序的数据库文件-Visual Studio 2010 - application specific database file - visual studio 2010 DataGridView和MySQL以及Microsoft Visual Studio 2010和Visual Basic .NET - DataGridView and MySQL and Microsoft Visual Studio 2010 and Visual Basic .NET 无法将C#SQL CLR数据库项目从Visual Studio 2010部署到SQL Server 2014 - Not able to deploy C# SQL CLR database project from Visual Studio 2010 to SQL Server 2014 使用Microsoft Visual Studio 2010进行调试。ASP.NET - Debugging with Microsoft Visual Studio 2010. ASP.NET Visual Studio 2010 错误:“不可调用的成员 'Microsoft.SqlServer.Management.Smo.Server.Databases' 不能像方法一样使用。” - Visual Studio 2010 error: “Non-invocable member 'Microsoft.SqlServer.Management.Smo.Server.Databases' cannot be used like a method.” 为什么我无法从Visual Studio 2010中的MSTest工具连接到SQL Server 2005数据库? - Why am I unable to connect to a SQL Server 2005 database from a MSTest harness in Visual Studio 2010?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM