ObjectQuery.MergeOption Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

member MergeOption : MergeOption with 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 Identity Resolution, State Management, and Change Tracking.

.NET Framework
Available since 3.5
Return to top
Show: