Condividi tramite


CosmosEntityTypeExtensions.GetContainer Metodo

Definizione

Overload

GetContainer(IEntityType)

Restituisce il nome del contenitore a cui viene eseguito il mapping del tipo di entità.

GetContainer(IReadOnlyEntityType)

Restituisce il nome del contenitore a cui viene eseguito il mapping del tipo di entità.

GetContainer(IEntityType)

Restituisce il nome del contenitore a cui viene eseguito il mapping del tipo di entità.

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

Parametri

entityType
IEntityType

Tipo di entità per cui ottenere il nome del contenitore.

Restituisce

Nome del contenitore a cui è mappato il tipo di entità.

Si applica a

GetContainer(IReadOnlyEntityType)

Restituisce il nome del contenitore a cui viene eseguito il mapping del tipo di entità.

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

Parametri

entityType
IReadOnlyEntityType

Tipo di entità per cui ottenere il nome del contenitore.

Restituisce

Nome del contenitore a cui è mappato il tipo di entità.

Si applica a