Compartir a través de


MutableForeignKeyExtensions.GetRelatedEntityType Método

Definición

Obtiene el tipo de entidad relacionado con el especificado.

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

Parámetros

foreignKey
IMutableForeignKey

Clave externa.

entityType
IMutableEntityType

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

Devoluciones

Tipo de entidad relacionado con el especificado.

Se aplica a