CRM 2011 OrganizationServiceProxy vs OrganizationServiceContext

后端 未结 2 1592
不思量自难忘°
不思量自难忘° 2021-02-13 05:55

I am reading through the MS CRM 2011 SDK docs and see two ways for accessing entities: OrganizationServiceContext or OrganizationServiceProxy.

Why would I choose one m

2条回答
  •  我在风中等你
    2021-02-13 06:25

    IOrganizationService is your connection to the CRM system.

    In Microsoft Dynamics CRM 2011, the primary Web service accessing data and metadata for your organization is the IOrganizationService Web service.

    The class OrganizationServiceContext is used as the base class for the data context which is created when you are using early bound entity classes. See how to Use the Organization Service Context Class. It uses an IOrganizationService as the underlying connection.

提交回复
热议问题