Sdílet prostřednictvím


RuntimeEntityType.FindDeclaredForeignKeys Metoda

Definice

Získá cizí klíče deklarované u tohoto typu entity pomocí daných vlastností.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey> 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.RuntimeForeignKey>
override this.FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey>
Public Overridable Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of RuntimeForeignKey)

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

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

Návraty

Deklarované cizí klíče.

Platí pro