HashPartitionResolver.PartitionKeyPropertyName Property

Definition

Gets the name of the property in the document to execute the hashing on in the Azure DocumentDB database service.

public string PartitionKeyPropertyName { get; }
Property Value

The name of the property in the document to execute the hashing on.

Remarks

HashPartitionResolver supports two modes - one using PartitionKeyPropertyName and the other using PartitionKeyExtractor. PartitionKeyPropertyName is extracted using Reflection, so use the C# property name, not the JSON representation.