Condividi tramite


MutableForeignKeyExtensions.GetRelatedEntityType Metodo

Definizione

Ottiene il tipo di entità correlato a quello specificato.

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

Parametri

foreignKey
IMutableForeignKey

Chiave esterna.

entityType
IMutableEntityType

Uno dei tipi di entità correlati alla chiave esterna.

Restituisce

Tipo di entità correlato a quello specificato.

Si applica a