Udostępnij za pośrednictwem


IReadOnlyForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metoda

Definicja

Pobiera typ jednostki powiązany z danym.

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

Parametry

entityType
IReadOnlyEntityType

Jeden z typów jednostek powiązanych z kluczem obcym.

Zwraca

Typ jednostki powiązany z daną jednostką.

Dotyczy