MergeOption Enumeration
WCF Data Services 5.0
Determines the synchronization option for sending or receiving entities to or from WCF Data Services.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
| Member name | Description | |
|---|---|---|
| AppendOnly | Append new entities only. Existing entities or their original values will not be modified. No client-side changes are lost in this merge. This is the default behavior. | |
| NoTracking | Objects are always loaded from persisted storage. Any property changes made to objects in the object context are overwritten by the data source values. | |
| OverwriteChanges | All current values on the client are overwritten with current values from the data service regardless of whether they have been changed on the client. | |
| PreserveChanges | Current values that have been changed on the client are not modified, but any unchanged values are updated with current values from the data service. No client-side changes are lost in this merge. |
Show: