MergeOption Property

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

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft