Delen via


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

Returns

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

Applies to