Sdílet prostřednictvím


IEntityType.FindDeclaredForeignKeys Metoda

Definice

Získá cizí klíče deklarované na dané IEntityType pomocí dané vlastnosti.

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)

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

Vlastnosti, ve které se mají cizí klíče najít.

Návraty

Deklarované cizí klíče.

Platí pro