IEntityType.FindDeclaredForeignKeys Méthode

Définition

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

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)

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 à