Compartir a través de


IForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Método

Definición

Obtiene el tipo de entidad relacionado con el especificado.

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

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