What is the difference between OrganizationServiceProxy and OrganizationService, and why/when would I prefer one over the other when working with Entities?
Answer-
If you're using the sdk assemblies (specifically microsoft.xrm.sdk.dll), then you'll be using an implementation of IOrganizationService, and the call time will be identical. The main purpose of OrganizationServiceProxy is to provide options for establishing a connection to CRM in code that runs outside of CRM - this is in contrast to plugins, for example
Reference -
https://social.technet.microsoft.com/Forums/en-US/19fb9e42-1502-4dec-860a-733cc45e33ae/organizationserviceproxy-vs-organizationservice?forum=crmdevelopment
Answer-
If you're using the sdk assemblies (specifically microsoft.xrm.sdk.dll), then you'll be using an implementation of IOrganizationService, and the call time will be identical. The main purpose of OrganizationServiceProxy is to provide options for establishing a connection to CRM in code that runs outside of CRM - this is in contrast to plugins, for example
Reference -
https://social.technet.microsoft.com/Forums/en-US/19fb9e42-1502-4dec-860a-733cc45e33ae/organizationserviceproxy-vs-organizationservice?forum=crmdevelopment
No comments:
Post a Comment