Condividi tramite


CosmosEntityTypeExtensions.GetPartitionKeyProperty Metodo

Definizione

Overload

GetPartitionKeyProperty(IReadOnlyEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

GetPartitionKeyProperty(IMutableEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

GetPartitionKeyProperty(IConventionEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

GetPartitionKeyProperty(IEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

GetPartitionKeyProperty(IReadOnlyEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

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

Parametri

entityType
IReadOnlyEntityType

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

Restituisce

Nome della proprietà della chiave di partizione.

Si applica a

GetPartitionKeyProperty(IMutableEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? GetPartitionKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetPartitionKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function GetPartitionKeyProperty (entityType As IMutableEntityType) As IMutableProperty

Parametri

entityType
IMutableEntityType

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

Restituisce

Nome della proprietà della chiave di partizione.

Si applica a

GetPartitionKeyProperty(IConventionEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionProperty? GetPartitionKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetPartitionKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
<Extension()>
Public Function GetPartitionKeyProperty (entityType As IConventionEntityType) As IConventionProperty

Parametri

entityType
IConventionEntityType

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

Restituisce

Nome della proprietà della chiave di partizione.

Si applica a

GetPartitionKeyProperty(IEntityType)

Restituisce la proprietà usata per archiviare la chiave di partizione.

public static Microsoft.EntityFrameworkCore.Metadata.IProperty? GetPartitionKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetPartitionKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function GetPartitionKeyProperty (entityType As IEntityType) As IProperty

Parametri

entityType
IEntityType

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

Restituisce

Nome della proprietà della chiave di partizione.

Si applica a