IConventionProperty.GetPrincipals Method

Definition

Finds the list of principal properties including the given property that the given property is constrained by if the given property is part of a foreign key.

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> GetPrincipals ();
abstract member GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
override this.GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Overridable Function GetPrincipals () As IReadOnlyList(Of IConventionProperty)

Returns

The list of all associated principal properties including the given property.

Applies to