在获取返回错误0x80040203

时间:2014-11-25 09:57:44

标签: dynamics-crm-2011

我正在尝试在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>

拜托,帮助我!

1 个答案:

答案 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>";