Export (0) Print
Expand All

ObjectQuery.MergeOption Property

Gets or sets how objects returned from a query are added to the object context.

Namespace:  System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public MergeOption MergeOption { get; set; }

Property Value

Type: System.Data.Objects.MergeOption
The query MergeOption.

If no MergeOption is specified, the default value is AppendOnly. For more information, see Change Tracking and Identity Resolution (Entity Framework).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft