Condividi tramite


CosmosEntityTypeExtensions.GetPartitionKeyPropertyName Metodo

Definizione

Overload

GetPartitionKeyPropertyName(IEntityType)

Restituisce il nome della proprietà utilizzata per archiviare la chiave di partizione.

GetPartitionKeyPropertyName(IReadOnlyEntityType)

Restituisce il nome della proprietà utilizzata per archiviare la chiave di partizione.

GetPartitionKeyPropertyName(IEntityType)

Restituisce il nome della proprietà utilizzata per archiviare la chiave di partizione.

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

Parametri

entityType
IEntityType

Tipo di entità per cui ottenere il nome della proprietà della chiave di partizione.

Restituisce

Nome della proprietà della chiave di partizione.

Si applica a

GetPartitionKeyPropertyName(IReadOnlyEntityType)

Restituisce il nome della proprietà utilizzata per archiviare la chiave di partizione.

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

Parametri

entityType
IReadOnlyEntityType

Tipo di entità per cui ottenere il nome della proprietà della chiave di partizione.

Restituisce

Nome della proprietà della chiave di partizione.

Si applica a