DataServiceContext.MergeOption Property
Gets or sets the synchronization option for receiving entities from a data service.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Property MergeOption As MergeOption
Get
Set
'Usage
Dim instance As DataServiceContext
Dim value As MergeOption
value = instance.MergeOption
instance.MergeOption = value
public MergeOption MergeOption { get; set; }
public:
property MergeOption MergeOption {
MergeOption get ();
void set (MergeOption value);
}
member MergeOption : MergeOption with get, set
function get MergeOption () : MergeOption
function set MergeOption (value : MergeOption)
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.