我其实是想实现下面的描述
这是我要传递给服务器的表参数
<items>
<item category="cats">1</item>
<item category="dogs">2</item>
</items>
SELECT * FROM Item
WHERE Item.Category = <one of the items in the XML list>
AND Item.ReferenceId = <the corresponding value of that item xml element>
--Or in other words:
SELECT FROM Items
WHERE Item IN XML according to the splecified columns.
我够清楚吗?
我不介意以与 xml 不同的方式进行操作。我需要的是选择与其两个列值的数组匹配的值。