ClusteringKeyAttribute Constructor (Int32, String) |
Note: This API is now obsolete.
Sets the clustering key and optionally a clustering order for it.
Namespace: Cassandra.Data.LinqAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax [ObsoleteAttribute("Use SortOrder instead")]
public ClusteringKeyAttribute(
int index,
string order
)
Parameters
- index
- Type: SystemInt32
Index of the clustering key, relative to the other clustering keys - order
- Type: SystemString
Use "DESC" for descending order and "ASC" for ascending order.
See Also