Condividi tramite


IForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metodo

Definizione

Ottiene il tipo di entità correlato a quello specificato.

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

Parametri

entityType
IReadOnlyEntityType

Uno dei tipi di entità correlati dalla chiave esterna.

Restituisce

Tipo di entità correlato a quello specificato.

Si applica a