CosmosEntityTypeExtensions.GetPartitionKeyProperty Methode

Definition

Überlädt

GetPartitionKeyProperty(IReadOnlyEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

GetPartitionKeyProperty(IMutableEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

GetPartitionKeyProperty(IConventionEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

GetPartitionKeyProperty(IEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

GetPartitionKeyProperty(IReadOnlyEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

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

Parameter

entityType
IReadOnlyEntityType

Der Entitätstyp, für den die Partitionsschlüsseleigenschaft abgerufen werden soll.

Gibt zurück

Der Name der Partitionsschlüsseleigenschaft.

Gilt für:

GetPartitionKeyProperty(IMutableEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

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

Parameter

entityType
IMutableEntityType

Der Entitätstyp, für den die Partitionsschlüsseleigenschaft abgerufen werden soll.

Gibt zurück

Der Name der Partitionsschlüsseleigenschaft.

Gilt für:

GetPartitionKeyProperty(IConventionEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

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

Parameter

entityType
IConventionEntityType

Der Entitätstyp, für den die Partitionsschlüsseleigenschaft abgerufen werden soll.

Gibt zurück

Der Name der Partitionsschlüsseleigenschaft.

Gilt für:

GetPartitionKeyProperty(IEntityType)

Gibt die Eigenschaft zurück, die zum Speichern des Partitionsschlüssels verwendet wird.

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

Parameter

entityType
IEntityType

Der Entitätstyp, für den die Partitionsschlüsseleigenschaft abgerufen werden soll.

Gibt zurück

Der Name der Partitionsschlüsseleigenschaft.

Gilt für: