IForeignKey.GetRelatedEntityType(IReadOnlyEntityType) メソッド

定義

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

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

パラメーター

entityType
IReadOnlyEntityType

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

戻り値

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

適用対象