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