PartitionKeyAttribute Constructor |
Specify the primary key column names (in order) for the table.
Namespace:
Cassandra.Mapping.Attributes
Assembly:
Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax public PartitionKeyAttribute(
int index = 0
)
Parameters
- index (Optional)
- Type: SystemInt32
The index of the key, relative to the other partition keys.
See Also