Sdílet prostřednictvím


IForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metoda

Definice

Získá typ entity související s danou entitou.

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

Parametry

entityType
IReadOnlyEntityType

Jeden z typů entit souvisejících se cizím klíčem.

Návraty

Typ entity související s danou entitou.

Platí pro