다음을 통해 공유


MutableEntityTypeExtensions.RootType(IMutableEntityType) 메서드

정의

주의

Use GetRootType

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

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

매개 변수

entityType
IMutableEntityType

루트를 찾을 형식입니다.

반환

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

특성

적용 대상