Share via


IReadOnlyEntityType.GetRootType メソッド

定義

特定のエンティティ型のルート基本型を取得します。

public virtual Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType GetRootType ();
abstract member GetRootType : unit -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.GetRootType : unit -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Public Overridable Function GetRootType () As IReadOnlyEntityType

戻り値

ルートの基本型。 指定されたエンティティ型が派生型でない場合は、同じエンティティ型が返されます。

適用対象