Sdílet prostřednictvím


RelationalEntityTypeExtensions.GetTableName Metoda

Definice

Přetížení

GetTableName(IEntityType)

Vrátí název tabulky, na kterou je typ entity mapován nebo null není namapován na tabulku.

GetTableName(IReadOnlyEntityType)

Vrátí název tabulky, na kterou je typ entity mapován nebo null není namapován na tabulku.

GetTableName(IEntityType)

Vrátí název tabulky, na kterou je typ entity mapován nebo null není namapován na tabulku.

public static string GetTableName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetTableName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetTableName (entityType As IEntityType) As String

Parametry

entityType
IEntityType

Typ entity, pro který chcete získat název tabulky.

Návraty

Název tabulky, na kterou je typ entity mapován.

Platí pro

GetTableName(IReadOnlyEntityType)

Vrátí název tabulky, na kterou je typ entity mapován nebo null není namapován na tabulku.

public static string? GetTableName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetTableName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetTableName (entityType As IReadOnlyEntityType) As String

Parametry

entityType
IReadOnlyEntityType

Typ entity, pro který chcete získat název tabulky.

Návraty

Název tabulky, na kterou je typ entity mapován.

Platí pro