ReferenceEntry<TEntity,TProperty>.TargetEntry Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework