Sdílet prostřednictvím


IReadOnlyEntityType.GetReferencingForeignKeys Metoda

Definice

Získá všechny cizí klíče, které cílí na daný typ entity (tj. cizí klíče, kde je daný typ entity nebo základní typ objektu zabezpečení).

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey> GetReferencingForeignKeys ();
abstract member GetReferencingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
Public Function GetReferencingForeignKeys () As IEnumerable(Of IReadOnlyForeignKey)

Návraty

Cizí klíče, které odkazují na daný typ entity nebo základní typ.

Platí pro