Click or drag to resize
ClusteringKeyAttribute Constructor (Int32, String)

Note: This API is now obsolete.

Sets the clustering key and optionally a clustering order for it.

Namespace: Cassandra.Data.Linq
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
[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