Sdílet prostřednictvím


CosmosEntityTypeExtensions.GetContainer Metoda

Definice

Přetížení

GetContainer(IEntityType)

Vrátí název kontejneru, na který je typ entity mapován.

GetContainer(IReadOnlyEntityType)

Vrátí název kontejneru, na který je typ entity mapován.

GetContainer(IEntityType)

Vrátí název kontejneru, na který je typ entity mapován.

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

Parametry

entityType
IEntityType

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

Návraty

Název kontejneru, na který je typ entity mapován.

Platí pro

GetContainer(IReadOnlyEntityType)

Vrátí název kontejneru, na který je typ entity mapován.

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

Parametry

entityType
IReadOnlyEntityType

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

Návraty

Název kontejneru, na který je typ entity mapován.

Platí pro