Share via


IEntityType.FindDeclaredForeignKeys Método

Definição

Obtém as chaves estrangeiras declaradas no determinado IEntityType usando as propriedades fornecidas.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindDeclaredForeignKeys (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Public Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IForeignKey)

Parâmetros

properties
IReadOnlyList<IReadOnlyProperty>

As propriedades em que encontrar as chaves estrangeiras.

Retornos

Chaves estrangeiras declaradas.

Aplica-se a