vs2012中的SQL CLR项目 [英] SQL CLR project in vs2012
问题描述
安装VS2012发布版后,找不到SQL CLR proect模板.我如何着手创建这种类型的项目.
After installing the release version of VS2012, I am unable to find SQL CLR proect template. How can I go about creating a project of this type.
谢谢!
推荐答案
所有各种数据库对象现在都在 SQL Server 数据库项目中创建.
All of the various database objects are now created inside of SQL Server database projects.
他们消除了数据库项目(SQL 脚本)和 SQL CLR 项目之间的区别.
They've removed the distinction between database projects (SQL Scripts) and SQL CLR projects.
所以它只是 File ->新 ->项目
,安装->模板 ->SQL Server
、SQL Server 数据库项目
.
然后,如果你去Add ->New Item
,您会在左侧找到各种类别,包括(令人困惑的)SQL CLR
和 SQL CLR C#
.第一个用于生成用于添加 CLR 对象的 SQL 脚本,第二个用于创建实际的 CLR 对象本身.
Then, if you go to Add -> New Item
, you'll find various categories on the left, including (confusingly) SQL CLR
and SQL CLR C#
. The first is for generating SQL Scripts for adding CLR objects, the second is for creating the actual CLR objects themselves.
这篇关于vs2012中的SQL CLR项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!