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.6.0
Syntax [ObsoleteAttribute("Use SortOrder instead")]
public ClusteringKeyAttribute(
int index,
string order
)
Parameters
- index
- Type: System.Int32
Index of the clustering key, relative to the other clustering keys - order
- Type: System.String
Use "DESC" for descending order and "ASC" for ascending order.
See Also