Share via


IReadOnlyEntityType.FindDeclaredForeignKeys Méthode

Définition

Obtient les clés étrangères déclarées sur ce type d’entité à l’aide des propriétés données.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey> 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.IReadOnlyForeignKey>
Public Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IReadOnlyForeignKey)

Paramètres

properties
IReadOnlyList<IReadOnlyProperty>

Propriétés sur laquelle rechercher les clés étrangères.

Retours

Clés étrangères déclarées.

S’applique à