Condividi tramite


IConventionForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metodo

Definizione

Ottiene il tipo di entità correlato a quello specificato.

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

Parametri

entityType
IReadOnlyEntityType

Uno dei tipi di entità correlati alla chiave esterna.

Restituisce

Tipo di entità correlato a quello specificato.

Si applica a