EntityEntry.Collections Property

Definition

Provides access to change tracking information and loading information for all collection navigation properties of this entity.

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)

Property Value

IEnumerable<CollectionEntry>

Remarks

See Accessing tracked entities in EF Core and Changing foreign keys and navigations for more information and examples.

Applies to