語言

EntityEntry.Collections 屬性

定義

提供本實體所有收藏導航屬性的變更追蹤資訊及載入資訊存取。

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.ChangeTracking.CollectionEntry> Collections { get; }
member this.Collections : seq<Microsoft.EntityFrameworkCore.ChangeTracking.CollectionEntry>
Public Overridable ReadOnly Property Collections As IEnumerable(Of CollectionEntry)

屬性值

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」及 「變更外鍵與導覽 」。

適用於