Bagikan melalui


IReadOnlyForeignKey.GetRelatedEntityType(IReadOnlyEntityType) Metode

Definisi

Mendapatkan jenis entitas yang terkait dengan yang diberikan.

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

Parameter

entityType
IReadOnlyEntityType

Salah satu jenis entitas yang terkait dengan kunci asing.

Mengembalikan

Jenis entitas yang terkait dengan yang diberikan.

Berlaku untuk