다음을 통해 공유


ConventionForeignKeyExtensions.GetRelatedEntityType 메서드

정의

지정된 엔터티 형식과 관련된 엔터티 형식을 가져옵니다.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRelatedEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetRelatedEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function GetRelatedEntityType (foreignKey As IConventionForeignKey, entityType As IConventionEntityType) As IConventionEntityType

매개 변수

foreignKey
IConventionForeignKey

외래 키입니다.

entityType
IConventionEntityType

외래 키와 관련된 엔터티 형식 중 하나입니다.

반환

지정된 엔터티 형식과 관련된 엔터티 형식입니다.

적용 대상