다음을 통해 공유


EntityTypeExtensions.RootType(IEntityType) 메서드

정의

주의

Use GetRootType

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

public static Microsoft.EntityFrameworkCore.Metadata.IEntityType RootType (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use GetRootType")]
public static Microsoft.EntityFrameworkCore.Metadata.IEntityType RootType (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member RootType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
[<System.Obsolete("Use GetRootType")>]
static member RootType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
<Extension()>
Public Function RootType (entityType As IEntityType) As IEntityType

매개 변수

entityType
IEntityType

루트를 찾을 형식입니다.

반환

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

특성

적용 대상