ObjectQuery.MergeOption 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得或設定從查詢傳回的物件如何加入至物件內容。
命名空間: System.Data.Entity.Core.Objects
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Property MergeOption As MergeOption
Get
Set
'用途
Dim instance As ObjectQuery
Dim value As MergeOption
value = instance.MergeOption
instance.MergeOption = value
public MergeOption MergeOption { get; set; }
public:
property MergeOption MergeOption {
MergeOption get ();
void set (MergeOption value);
}
member MergeOption : MergeOption with get, set
function get MergeOption () : MergeOption
function set MergeOption (value : MergeOption)
屬性值
類型:System.Data.Entity.Core.Objects.MergeOption
查詢 MergeOption。