IReadOnlyForeignKey.PrincipalKey 属性

定义

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

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

属性值

适用于