ConventionKeyExtensions.GetReferencingForeignKeys(IConventionKey) Método

Definição

Obtém todas as chaves estrangeiras direcionadas a uma determinada chave primária ou alternativa.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> GetReferencingForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key);
static member GetReferencingForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IConventionKey -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey>
<Extension()>
Public Function GetReferencingForeignKeys (key As IConventionKey) As IEnumerable(Of IConventionForeignKey)

Parâmetros

key
IConventionKey

A chave para a qual encontrar as chaves estrangeiras.

Retornos

As chaves estrangeiras que fazem referência à chave fornecida.

Aplica-se a