我看过一些使用单个属性查询的示例,但对如何使用 2 个属性感到困惑。
<componentcache>
<component Name="CALC_TODAYDATELONG" value="MONDAY, MAY 06, 2013" />
<component Name="CALC_OFFICENAME" value="DEFAULT OFFICE" />
<component Name="STAFFINFO_FULLNAME" value="LEE LEE, JR" />
<component Name="PATINFO_FULLNAME" value="JAYNE H DOE" />
<component Name="PATINFO_BIRTHDATE" value="11/07/1901" />
<component Name="PATINFO_PATIENTNO" value="AG000003" />
<component Name="ENCOUNT_DXDESC1" value="ABC" />
<component Name="ENCOUNT_DXDESC2" value="DEF" />
<component Name="ENCOUNT_DXDESC3" value="HIJK" />
</componentcache>
SELECT DocumentStoreID, DocTemplateID, PersonID, Document from DocumentStore
WHERE DataCache.value('/componentcache/component...
我想选择 Name like "ENCOUNT_DXDESC%" and value = 'DEF' 的行