Class PrimaryKeyDefinition
Defines the primary key structure of a table, including partition keys and clustering keys with their sort orders.
public class PrimaryKeyDefinition
- Inheritance
-
PrimaryKeyDefinition
- Inherited Members
Properties
Keys
The ordered list of partition key column names.
[JsonPropertyName("partitionBy")]
public List<string> Keys { get; set; }
Property Value
Sorts
The clustering key columns and their sort directions, ordered by clustering key position.
[JsonIgnore]
public Dictionary<string, SortDirection> Sorts { get; set; }