I'm trying to select the first 10 records "new_region" in MS Dynamical CRM
"<fetch mapping= ""logical"" count=""10"">"+
"<entity name='new_region'>"+
"<attribute name='new_regionid'/>"+
"</entity>"+
"</fetch>"+
Error:
<code>0x80040203</code>
<description>entity</description>
<type>Platform</type>
Please, help me!
Try this
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>";
User contributions licensed under CC BY-SA 3.0