C# MSCRM SDK QueryExpression Default Order

2019-08-29 10:46发布

问题:

I would like to know what the default sort order of the QueryExpression object. I can't seem to find it anywhere

回答1:

I believe the default sort order will be by the ID (primary key). That's the clustered index of each entity table. When no order is specified, FetchXML returns records sorted by GUID.