Compartir a través de


IReadOnlyForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Método

Definición

Obtiene el tipo de entidad relacionado con el especificado.

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

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