Bagikan melalui


MutableEntityTypeExtensions.RootType(IMutableEntityType) Metode

Definisi

Perhatian

Use GetRootType

Mendapatkan jenis dasar akar untuk jenis entitas tertentu.

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

Parameter

entityType
IMutableEntityType

Jenis untuk menemukan akar.

Mengembalikan

Jenis dasar akar. Jika jenis entitas yang diberikan bukan jenis turunan, maka jenis entitas yang sama dikembalikan.

Atribut

Berlaku untuk