RuntimeForeignKey.IReadOnlyForeignKey.PrincipalEntityType プロパティ

定義

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

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

プロパティ値

実装

属性

適用対象