With CreateRequest , as well as UpdateRequest you can switch re-discovery, as shown in the following example:
public Guid CreateTest(Entity account, IOrganizationService service) { var request = new CreateRequest { Target = account }; request.Parameters.Add("SuppressDuplicateDetection", false); var response = service.Execute(request) as CreateResponse; return response.id; }
You cannot do this with the Create and Update methods.
And, of course, you can pass Request objects to ExecuteMultipleRequest to reduce the number of calls to the organization’s web service.
I expect the Create and Update methods to be somewhat more efficient, but I doubt it will be measurable.
source share