다음을 통해 공유


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

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

반환

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

적용 대상