Partager via


IConventionForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Méthode

Définition

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRelatedEntityType (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
abstract member GetRelatedEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
override this.GetRelatedEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Overridable Function GetRelatedEntityType (entityType As IReadOnlyEntityType) As IConventionEntityType

Paramètres

entityType
IReadOnlyEntityType

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

Retours

Type d’entité lié au donné.

S’applique à