Sdílet prostřednictvím


RelationalEntityTypeExtensions.GetDefaultViewName Metoda

Definice

Přetížení

GetDefaultViewName(IEntityType)

Vrátí výchozí název zobrazení, který by se použil pro tento typ entity.

GetDefaultViewName(IReadOnlyEntityType)

Vrátí výchozí název zobrazení, který by se použil pro tento typ entity.

GetDefaultViewName(IEntityType)

Vrátí výchozí název zobrazení, který by se použil pro tento typ entity.

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

Parametry

entityType
IEntityType

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

Návraty

Výchozí název tabulky, na kterou by byl typ entity mapován.

Platí pro

GetDefaultViewName(IReadOnlyEntityType)

Vrátí výchozí název zobrazení, který by se použil pro tento typ entity.

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

Parametry

entityType
IReadOnlyEntityType

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

Návraty

Výchozí název tabulky, na kterou by byl typ entity mapován.

Platí pro