IReadOnlyForeignKey.GetRelatedEntityType(IReadOnlyEntityType) メソッド

定義

指定されたエンティティ型に関連するエンティティ型を取得します。

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

パラメーター

entityType
IReadOnlyEntityType

外部キーに関連するエンティティ型の 1 つ。

戻り値

指定されたエンティティに関連するエンティティ型。

適用対象