Share via


PropertyExtensions.FindPrincipals(IProperty) Método

Definição

Cuidado

Use IReadOnlyProperty.GetPrincipals

Localiza a lista de propriedades principais, incluindo a propriedade fornecida pela qual a propriedade fornecida é restrita se a propriedade fornecida fizer parte de uma chave estrangeira.

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)

Parâmetros

property
IProperty

A propriedade de chave estrangeira.

Retornos

A lista de todas as propriedades principais associadas, incluindo a propriedade fornecida.

Atributos

Aplica-se a