Delen via


IReadOnlyForeignKey.PrincipalKey Property

Definition

Gets the primary or alternate key that the relationship targets.

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

Property Value

Applies to