ReferenceEntry<TEntity,TProperty>.TargetEntry Property

Definition

The EntityEntry<TEntity> of the entity this navigation targets.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TProperty> TargetEntry { get; }
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TProperty>? TargetEntry { get; }
member this.TargetEntry : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Property (requires 'Property : null)>
Public Overridable ReadOnly Property TargetEntry As EntityEntry(Of TProperty)

Property Value

EntityEntry<TProperty>

An entry for the entity that owns this navigation targets.

Remarks

See Accessing tracked entities in EF Core for more information and examples.

Applies to