PartitionKeyAttribute Constructor |
Specify the primary key column names (in order) for the table.
Namespace: Cassandra.Mapping.AttributesAssembly: Cassandra (in Cassandra.dll) Version: 3.7.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