I am moving the code from the SDK for Dynamics CRM 2015 to the latest version, which is for 2016 and 365. However, I noticed that the created XrmServiceContext inherits from Microsoft.Xrm.Sdk.Client.OrganizationServiceContext instead of Microsoft.Xrm.Client.CrmOrganizationServiceContext . This removed the automatic lazy loading of related objects on the CrmOrganizationServiceContext . I spent a lot of time trying to figure out why the related objects were empty until the code compiled correctly. I found that Microsoft.Xrm.Client been removed from the 8.x SDK . Does anyone know if the CrmOrganizationServiceContext been moved / renamed to another location or just deleted? Are there alternatives for this lazy boot support? You do not want all objects associated with places to be directly used and add LoadProperty to it. Thanks.
source share