다음을 통해 공유


ConventionEntityTypeExtensions.GetRootType(IConventionEntityType) 메서드

정의

지정된 엔터티 형식의 루트 기본 형식을 가져옵니다.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRootType (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetRootType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function GetRootType (entityType As IConventionEntityType) As IConventionEntityType

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

반환

루트 기본 형식입니다. 지정된 엔터티 형식이 파생 형식이 아닌 경우 동일한 엔터티 형식이 반환됩니다.

적용 대상