共用方式為


EntityCollection<TEntity>.Load(MergeOption) 方法

定義

使用指定的合併選項,將相關物件載入集合中。

public override void Load(System.Data.Entity.Core.Objects.MergeOption mergeOption);
override this.Load : System.Data.Entity.Core.Objects.MergeOption -> unit

參數

mergeOption
MergeOption

指定此集合中的物件應該如何與可能從先前查詢針對相同 ObjectContext 傳回的物件合併。

適用於