CosmosEntityTypeExtensions.GetContainer Methode

Definition

Überlädt

GetContainer(IEntityType)

Gibt den Namen des Containers zurück, dem der Entitätstyp zugeordnet ist.

GetContainer(IReadOnlyEntityType)

Gibt den Namen des Containers zurück, dem der Entitätstyp zugeordnet ist.

GetContainer(IEntityType)

Gibt den Namen des Containers zurück, dem der Entitätstyp zugeordnet ist.

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

Parameter

entityType
IEntityType

Der Entitätstyp, für den der Containername abgerufen werden soll.

Gibt zurück

Der Name des Containers, dem der Entitätstyp zugeordnet ist.

Gilt für:

GetContainer(IReadOnlyEntityType)

Gibt den Namen des Containers zurück, dem der Entitätstyp zugeordnet ist.

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

Parameter

entityType
IReadOnlyEntityType

Der Entitätstyp, für den der Containername abgerufen werden soll.

Gibt zurück

Der Name des Containers, dem der Entitätstyp zugeordnet ist.

Gilt für: