Поделиться через


DataServiceContext.MergeOption Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the synchronization option for receiving entities from a data service.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public Property MergeOption As MergeOption
public MergeOption MergeOption { get; set; }

Property Value

Type: System.Data.Services.Client.MergeOption
One of the members of the MergeOption enumeration.

Remarks

This value is read by the deserialization component of the client before materializing objects. Set this property to the appropriate materialization option before executing any queries or updates to the data service. The default value is AppendOnly.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.