Condividi tramite


IReadOnlyForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metodo

Definizione

Ottiene il tipo di entità correlato a quello specificato.

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

Parametri

entityType
IReadOnlyEntityType

Uno dei tipi di entità correlati dalla chiave esterna.

Restituisce

Tipo di entità correlato a quello specificato.

Si applica a