Share via


CosmosEntityTypeExtensions.GetPartitionKeyProperties Method

Definition

Overloads

Name Description
GetPartitionKeyProperties(IReadOnlyEntityType)

Returns the properties that are used to store the hierarchical partition key.

GetPartitionKeyProperties(IConventionEntityType)

Returns the properties that are used to store the hierarchical partition key.

GetPartitionKeyProperties(IEntityType)

Returns the properties that are used to store the hierarchical partition key.

GetPartitionKeyProperties(IMutableEntityType)

Returns the properties that are used to store the hierarchical partition key.

GetPartitionKeyProperties(IReadOnlyEntityType)

Source:
CosmosEntityTypeExtensions.cs
Source:
CosmosEntityTypeExtensions.cs

Returns the properties that are used to store the hierarchical partition key.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty?> GetPartitionKeyProperties(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetPartitionKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty>
<Extension()>
Public Function GetPartitionKeyProperties (entityType As IReadOnlyEntityType) As IReadOnlyList(Of IReadOnlyProperty)

Parameters

entityType
IReadOnlyEntityType

The entity type.

Returns

The hierarchical partition key properties.

Applies to

GetPartitionKeyProperties(IConventionEntityType)

Source:
CosmosEntityTypeExtensions.cs
Source:
CosmosEntityTypeExtensions.cs

Returns the properties that are used to store the hierarchical partition key.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty?> GetPartitionKeyProperties(this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetPartitionKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
<Extension()>
Public Function GetPartitionKeyProperties (entityType As IConventionEntityType) As IReadOnlyList(Of IConventionProperty)

Parameters

entityType
IConventionEntityType

The entity type.

Returns

The hierarchical partition key properties.

Applies to

GetPartitionKeyProperties(IEntityType)

Source:
CosmosEntityTypeExtensions.cs
Source:
CosmosEntityTypeExtensions.cs

Returns the properties that are used to store the hierarchical partition key.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> GetPartitionKeyProperties(this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetPartitionKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
<Extension()>
Public Function GetPartitionKeyProperties (entityType As IEntityType) As IReadOnlyList(Of IProperty)

Parameters

entityType
IEntityType

The entity type.

Returns

The hierarchical partition key properties.

Applies to

GetPartitionKeyProperties(IMutableEntityType)

Source:
CosmosEntityTypeExtensions.cs
Source:
CosmosEntityTypeExtensions.cs

Returns the properties that are used to store the hierarchical partition key.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty?> GetPartitionKeyProperties(this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetPartitionKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
<Extension()>
Public Function GetPartitionKeyProperties (entityType As IMutableEntityType) As IReadOnlyList(Of IMutableProperty)

Parameters

entityType
IMutableEntityType

The entity type.

Returns

The hierarchical partition key properties.

Applies to