Class PartitionKeyAttribute
Declares the member part of the partition key — the access-pattern declaration: Cassandra's partition key and Cosmos DB's partition key path (compose with Order — Cosmos builds a hierarchical, multi-hash key from up to three members). Relational stores and MongoDB have no partition concept and ignore it.
[AttributeUsage(AttributeTargets.Property)]
public sealed class PartitionKeyAttribute : Attribute
- Inheritance
-
PartitionKeyAttribute
- Inherited Members
Properties
Order
The member's position in a composite partition key.
public int Order { get; set; }