Share via


EntityTypeExtensions.GetDeclaredReferencingForeignKeys(IEntityType) Metoda

Definice

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> GetDeclaredReferencingForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDeclaredReferencingForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
<Extension()>
Public Function GetDeclaredReferencingForeignKeys (entityType As IEntityType) As IEnumerable(Of IForeignKey)

Parametry

entityType
IEntityType

Typ entity.

Návraty

Cizí klíče, které odkazují na daný typ entity.

Platí pro