Sdílet prostřednictvím


RuntimeEntityType.IReadOnlyEntityType.FindForeignKeys Metoda

Definice

Získá cizí klíče definované na dané vlastnosti. Vrátí se pouze cizí klíče, které jsou definovány přesně v zadané sadě vlastností.

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey> IReadOnlyEntityType.FindForeignKeys (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
Function FindForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IReadOnlyForeignKey) Implements IReadOnlyEntityType.FindForeignKeys

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

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

Návraty

Cizí klíče.

Implementuje

Atributy

Platí pro