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)

property MergeOption MergeOption {
	MergeOption get();
	void set(MergeOption value);

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