ObjectQuery.MergeOption Property

Definition

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

public:
 property System::Data::Objects::MergeOption MergeOption { System::Data::Objects::MergeOption get(); void set(System::Data::Objects::MergeOption value); };
public System.Data.Objects.MergeOption MergeOption { get; set; }
member this.MergeOption : System.Data.Objects.MergeOption with get, set
Public Property MergeOption As MergeOption

Property Value

The query MergeOption.

Remarks

If no MergeOption is specified, the default value is AppendOnly. For more information, see Identity Resolution, State Management, and Change Tracking.

Applies to

See also