MergeOption 枚举
应用到: CRM 2015 on-prem, CRM Online
Describes the synchronization option for sending or receiving entity data to or from a data service using the OrganizationServiceContext.
命名空间: Microsoft.Xrm.Sdk.Client
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
语法
声明
Public Enumeration MergeOption
public enum MergeOption
成员
成员名称 | 描述 |
---|---|
AppendOnly | New 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. |
NoTracking | Microsoft 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. |
OverwriteChanges | All 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. |
PreserveChanges | Current 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. |
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.