SQL CLR project in vs2012

后端 未结 1 1378
萌比男神i
萌比男神i 2021-02-04 23:54

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.

Thanks!

1条回答
  •  情话喂你
    2021-02-05 00:59

    All of the various database objects are now created inside of SQL Server database projects.

    They've removed the distinction between database projects (SQL Scripts) and SQL CLR projects.

    So it's just File -> New -> Project, Installed -> Templates -> SQL Server, SQL Server Database Project.

    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.

    0 讨论(0)
提交回复
热议问题