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

属性值

实现

属性

适用于