ForeignKeyExtensions.GetRelatedEntityType(IForeignKey, IEntityType) Méthode

Définition

Obtient le type d’entité lié au donné.

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

Paramètres

foreignKey
IForeignKey

Clé étrangère.

entityType
IEntityType

Un des types d’entités liés par la clé étrangère.

Retours

Type d’entité lié au donné.

S’applique à