如何在C#中的SQL Server Project中添加对Microsoft.Data.SqlXml.dll的引用? [英] How to add a reference to the Microsoft.Data.SqlXml.dll in SQL Server Project in C# ?

查看:104
本文介绍了如何在C#中的SQL Server Project中添加对Microsoft.Data.SqlXml.dll的引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



它允许在控制台/Windows应用程序中引用外部.dll作为引用.
但是"SQL Server项目"中的添加引用"链接不允许外部.dll引用.


谢谢,
Gomathi

Hi,

It allows to refer an extenal .dll as a Reference in a Console/Windows application.
But the "Add Reference" link in the "SQL Server Project" does not allow the external .dll references.


Thanks,
Gomathi

推荐答案


Visual Studio中的SQL Server项目用于使用CLR在SQL Server中创建托管的.NET对象.这些对象包括诸如存储过程,触发器,UDT等之类的东西.许多人错误地认为,此项目类型不用于创建使用数据库作为数据存储的应用程序.

如果要创建使用SQL Server作为数据存储的应用程序,只需创建Windows,Web或控制台应用程序即可.

真诚的

Gary
Hi,
SQL Server projects in Visual Studio are used to create managed .NET objects in SQL Server using the CLR. These objects include things like stored procedures, triggers, UDTs, etc. This project type is not used to create an application that uses a databases as the data store, as many people incorrectly believe.

If you want to create an application that uses SQL Server as a data store, just create a Windows, Web, or console app.

Sincerely,

Gary


如何在SQL Server项目中使用SqlXmlCommand?

-萨维塔(Savitha)
How to use a SqlXmlCommand in sql server project?

-- Savitha


这篇关于如何在C#中的SQL Server Project中添加对Microsoft.Data.SqlXml.dll的引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆