語言

ReferenceEntry<TEntity,TProperty>.TargetEntry 屬性

定義

此 EntityEntry<TEntity> 導航所針對的實體。

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TProperty>? TargetEntry { get; }
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TProperty> TargetEntry { get; }
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TProperty>? TargetEntry { get; }
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]
member this.TargetEntry : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Property (requires 'Property : null)>
member this.TargetEntry : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Property (requires 'Property : null)>
Public Overridable ReadOnly Property TargetEntry As EntityEntry(Of TProperty)

屬性值

EntityEntry<TProperty>

這是擁有此導航目標的實體的條目。

屬性

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。

適用於