IConventionForeignKey.PrincipalKey 属性

定义

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

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

属性值

适用于