ObjectQuery.MergeOption 属性

定义

获取或设置从查询返回的对象添加到对象上下文的方式。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

属性值

查询 MergeOptionThe query MergeOption.

注解

如果未指定任何 MergeOption,则默认值为 AppendOnlyIf no MergeOption is specified, the default value is AppendOnly. 有关详细信息, 请参阅标识解析、状态管理和更改跟踪For more information, see Identity Resolution, State Management, and Change Tracking.

适用于

另请参阅