Export (0) Print
Expand All

MergeOption Enumeration

Applies To: CRM 2015 on-prem, CRM Online

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Describes the synchronization option for sending or receiving entity data to or from a data service using the OrganizationServiceContext.

Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public enum MergeOption

Member nameDescription
AppendOnlyNew Microsoft Dynamics CRM entities are appended. Existing entities or their original values are not be modified. No client-side changes are lost in this merge. This is the default behavior. Value = 0.
NoTrackingMicrosoft Dynamics CRM entities are always loaded from persisted storage. Any attribute changes made to entities in the OrganizationServiceContext are overwritten by the data source values. Value = 3.
OverwriteChangesAll current values on the client are overwritten with current values from the Web service regardless of whether they have been changed on the client. Value = 1.
PreserveChangesCurrent values that have been changed on the client are not modified, but any unchanged values are updated with current values from the Web service. No client-side changes are lost in this merge. Value = 2.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft