次の方法で共有


IConventionForeignKey.GetRelatedEntityType(IReadOnlyEntityType) メソッド

定義

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

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

パラメーター

entityType
IReadOnlyEntityType

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

戻り値

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

適用対象