Sdílet prostřednictvím


CosmosEntityTypeExtensions.GetPartitionKeyPropertyName Metoda

Definice

Přetížení

GetPartitionKeyPropertyName(IEntityType)

Vrátí název vlastnosti, která se používá k uložení klíče oddílu.

GetPartitionKeyPropertyName(IReadOnlyEntityType)

Vrátí název vlastnosti, která se používá k uložení klíče oddílu.

GetPartitionKeyPropertyName(IEntityType)

Vrátí název vlastnosti, která se používá k uložení klíče oddílu.

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

Parametry

entityType
IEntityType

Typ entity, pro který chcete získat název vlastnosti klíče oddílu.

Návraty

Název vlastnosti klíče oddílu.

Platí pro

GetPartitionKeyPropertyName(IReadOnlyEntityType)

Vrátí název vlastnosti, která se používá k uložení klíče oddílu.

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

Parametry

entityType
IReadOnlyEntityType

Typ entity, pro který chcete získat název vlastnosti klíče oddílu.

Návraty

Název vlastnosti klíče oddílu.

Platí pro