我正在尝试在MS Dynamical CRM中选择前10条记录“new_region”
"<fetch mapping= ""logical"" count=""10"">"+
"<entity name='new_region'>"+
"<attribute name='new_regionid'/>"+
"</entity>"+
"</fetch>"+
错误:
<code>0x80040203</code>
<description>entity</description>
<type>Platform</type>
拜托,帮助我!
答案 0 :(得分:0)
试试这个
string getRecords = @"<fetch mapping= 'logical' distinct ='true' count='10'>
<entity name='new_region'>
<attribute name='new_regionid'/>
<order attribute = 'new_name' descending = 'false'/>
</entity>
</fetch>";