EntityTypeExtensions.RootType(IEntityType) Yöntem

Tanım

Dikkat

Use GetRootType

Verilen varlık türü için kök temel türü alır.

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

Parametreler

entityType
IEntityType

Kökünü bulmak için türü.

Döndürülenler

IEntityType

Kök temel tür. Verilen varlık türü türetilmiş bir tür değilse, aynı varlık türü döndürülür.

Öznitelikler

Şunlara uygulanır