Share via


MutableForeignKeyExtensions.GetRelatedEntityType Método

Definição

Obtém o tipo de entidade relacionado ao determinado.

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

A chave estrangeira.

entityType
IMutableEntityType

Um dos tipos de entidade relacionados pela chave estrangeira.

Retornos

O tipo de entidade relacionado ao determinado.

Aplica-se a