IForeignKey.PrincipalEntityType プロパティ

定義

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

public Microsoft.EntityFrameworkCore.Metadata.IEntityType PrincipalEntityType { get; }
member this.PrincipalEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
Public ReadOnly Property PrincipalEntityType As IEntityType

プロパティ値

適用対象