Wie man mehr als 5000 Entitäten aus CRM abruft
Ich frage MS Dynamics CRM Online über meine Konsolenanwendung ab:
public EntityCollection GetEntities(string entityName)
{
IOrganizationService proxy = ServerConnection.GetOrganizationProxy();
string request = string.Format("<fetch mapping ='logical'><entity name = '{0}'></entity></fetch>", entityName);
FetchExpression expression = new FetchExpression(request);
var mult = proxy.RetrieveMultiple(expression);
return mult;
}
Dieser Code gibt nur maximal 5000 Elemente in @ zurücmult.Entities
. Ich weiß, dass CRM mehr Entitäten enthält.Wie rufe ich alle Entities ab?