Compartir a través de


IConventionForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Método

Definición

Obtiene el tipo de entidad relacionado con el especificado.

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

Parámetros

entityType
IReadOnlyEntityType

Uno de los tipos de entidad relacionados con la clave externa.

Devoluciones

Tipo de entidad relacionado con el especificado.

Se aplica a