September 2011
Intermediate to advanced
1008 pages
24h 27m
English
On this section we will look at the regular operations (create, retrieve, retrieve multiple, delete, and update) but by using the early access so that you can see the differences.
To create any instance of an entity such as a new Account or Contact, instead of using the create method, you would do it this way:
using Microsoft.Xrm.Sdk.Client;using System.ServiceModel.Description;public static void CreateAccount(string organizationName, string accountName){ ClientCredentials credentials = new ClientCredentials(); credentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials; OrganizationServiceProxy _serviceProxy = new OrganizationServiceProxy(new ...