In Current Project i am using this syntax to retrieve data from Dynamic CRM:
using (OrganizationServiceProxy serviceProxy = new OrganizationServiceProxy(organizationUri, null, _crmCredentials, null)
{
// Creating IOrganizationService object to access organization services
IOrganizationService service = serviceProxy;
EntityCollection retrieveAccountGuid = service.RetrieveMultiple(QueryOptions);
return retrieveAccountGuid;
}
Any one please help me what changes i need to do?
I have Read this article but how to replace IOrganizationService
in code?