Delen via


IProperty.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.IProperty> GetPrincipals ();
abstract member GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
override this.GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
Public Overridable Function GetPrincipals () As IReadOnlyList(Of IProperty)

Returns

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

Applies to