Sdílet prostřednictvím


MutableForeignKeyExtensions.GetRelatedEntityType Metoda

Definice

Získá typ entity související s danou entitou.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType GetRelatedEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetRelatedEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function GetRelatedEntityType (foreignKey As IMutableForeignKey, entityType As IMutableEntityType) As IMutableEntityType

Parametry

foreignKey
IMutableForeignKey

Cizí klíč.

entityType
IMutableEntityType

Jeden z typů entit souvisejících se cizím klíčem.

Návraty

Typ entity související s danou entitou.

Platí pro