Click or drag to resize
PartitionKeyAttribute Constructor
Specify the primary key column names (in order) for the table.

Namespace: Cassandra.Mapping.Attributes
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public PartitionKeyAttribute(
	int index = 0
)

Parameters

index (Optional)
Type: SystemInt32
The index of the key, relative to the other partition keys.
See Also