Condividi tramite


RelationalEntityTypeExtensions.GetViewName Metodo

Definizione

Overload

GetViewName(IEntityType)

Restituisce il nome della visualizzazione a cui viene mappato il tipo di entità o null se non è mappato a una vista.

GetViewName(IReadOnlyEntityType)

Restituisce il nome della visualizzazione a cui viene mappato il tipo di entità o null se non è mappato a una vista.

GetViewName(IEntityType)

Restituisce il nome della visualizzazione a cui viene mappato il tipo di entità o null se non è mappato a una vista.

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

Parametri

entityType
IEntityType

Tipo di entità per cui ottenere il nome della vista.

Restituisce

Nome della visualizzazione a cui è mappato il tipo di entità.

Si applica a

GetViewName(IReadOnlyEntityType)

Restituisce il nome della visualizzazione a cui viene mappato il tipo di entità o null se non è mappato a una vista.

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

Parametri

entityType
IReadOnlyEntityType

Tipo di entità per cui ottenere il nome della vista.

Restituisce

Nome della visualizzazione a cui è mappato il tipo di entità.

Si applica a