Whenever we need to interact with CRM SDK, we need to use CRM web services. Most of the time we will be working with the organization service to create and modify data. Organization services contains the following methods to interact with metadata and organization data; we will add these methods in our corresponding Earlybound.cs
and Latebound.cs
files in our console application.
This method is used to create entity records: system or custom. We can use create
method when we want to create an entity record using CRM SDK—for example, if we need to develop a utility for data importing we can use this method or if we want to create a lead record dynamically from a custom Web site. This methods takes the entity
object as a parameter and returns the GUID of the record created. The following is an example of creating an account record, early and late bound, with different data types. We are setting some of the basic account entity fields in the following...