RuntimeForeignKey.IReadOnlyForeignKey.PrincipalKey 属性

定义

获取关系面向的主键或备用键。

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

属性值

实现

属性

适用于