Aracılığıyla paylaş


EntityTypeExtensions.RootType(IEntityType) Yöntem

Tanım

Dikkat

Use GetRootType

Belirli bir varlık türü için kök temel türünü 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

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