Sometimes when retrieve records from CRM, the program might take more time than expected. It might be because of the data is being uploaded to CRM from other source.
Normally, we use “No Lock” in the SQL Query and the same thing can be applied for Fetch XML query too.
Here is the sample Fetch XML query
string strFetchXML = @”