2012-08-16 107 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的字符串內容。