DataServiceContext.MergeOption Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the synchronization option for receiving entities from a data service.
public virtual Microsoft.OData.Client.MergeOption MergeOption { get; set; }
member this.MergeOption : Microsoft.OData.Client.MergeOption with get, set
Public Overridable Property MergeOption As MergeOption
Property Value
One of the members of the MergeOption enumeration.
Remarks
Used to specify a synchronization strategy when sending/receiving entities to/from a data service. This value is read by the deserialization component of the client prior to materializing objects. As such, it is recommended to set this property to the appropriate materialization strategy before executing any queries/updates to the data service. The default value is MergeOption.AppendOnly.