Udostępnij za pośrednictwem


IMutableForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metoda

Definicja

Pobiera typ jednostki powiązany z danym.

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

Parametry

entityType
IReadOnlyEntityType

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

Zwraca

Typ jednostki powiązany z danym.

Dotyczy