Share via


IForeignKey.PrincipalKey Property

Definition

Gets the primary or alternate key that the relationship targets.

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

Property Value

Applies to