2012-08-16 108 views
0

有没有办法使用Linq-to-SQL在SQL Server中查询Xml列?使用Linq-to-SQL查询XML

我希望能够在XML中的特定节点上执行contains或Like操作符。

+0

使用LINQ到XML。 – 2012-08-16 11:25:56

+0

[去](http://www.codeproject.com/Articles/24376/LINQ-to-XML) – 2012-08-16 11:32:30

+0

这可以帮助你[链接](http://stackoverflow.com/questions/670563/linq-to-读取XML) – 2012-08-16 11:34:00

回答

0

看来,没有直接/简单的方法可以查询XML数据库的列,也使用XPath API,除了contains/like构造,它应用于xml的字符串内容。