Share via


PropertyExtensions.FindPrincipals(IProperty) Metodo

Definizione

Attenzione

Use IReadOnlyProperty.GetPrincipals

Trova l'elenco delle proprietà principale, inclusa la proprietà specificata vincolata dalla proprietà specificata, se la proprietà specificata fa parte di una chiave esterna.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> FindPrincipals (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.GetPrincipals")]
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> FindPrincipals (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindPrincipals : Microsoft.EntityFrameworkCore.Metadata.IProperty -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
[<System.Obsolete("Use IReadOnlyProperty.GetPrincipals")>]
static member FindPrincipals : Microsoft.EntityFrameworkCore.Metadata.IProperty -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
<Extension()>
Public Function FindPrincipals (property As IProperty) As IReadOnlyList(Of IProperty)

Parametri

property
IProperty

Proprietà chiave esterna.

Restituisce

Elenco di tutte le proprietà dell'entità associate, inclusa la proprietà specificata.

Attributi

Si applica a