次の方法で共有


RuntimeForeignKey.IForeignKey.PrincipalEntityType プロパティ

定義

このリレーションシップが対象とするプリンシパル エンティティ型を取得します。 これは、リレーションシップが PrincipalKey 継承階層の派生型を対象とする場合に定義される型とは異なる場合があります (キーは階層の基本型で定義されているため)。

Microsoft.EntityFrameworkCore.Metadata.IEntityType Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalEntityType { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
 ReadOnly Property PrincipalEntityType As IEntityType Implements IForeignKey.PrincipalEntityType

プロパティ値

実装

属性

適用対象