Click or drag to resize
ClusteringKeyAttribute Class

Note: This API is now obsolete.

Indicates that the property or field is part of the Clustering Key
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Cassandra.Data.LinqClusteringKeyAttribute

Namespace: Cassandra.Data.Linq
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
[ObsoleteAttribute("Linq attributes are deprecated, use mapping attributes defined in Cassandra.Mapping.Attributes instead.")]
public class ClusteringKeyAttribute : Attribute

The ClusteringKeyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodClusteringKeyAttribute(Int32)
Initializes a new instance of the ClusteringKeyAttribute class
Public methodClusteringKeyAttribute(Int32, SortOrder)
Initializes a new instance of the ClusteringKeyAttribute class
Public methodClusteringKeyAttribute(Int32, String) Obsolete.
Sets the clustering key and optionally a clustering order for it.
Top
Properties
  NameDescription
Public propertyClusteringOrder Obsolete.
Gets or sets the string representation of the clustering order
Public propertyClusteringSortOrder
Gets or sets the clustering order
Public propertyIndex
Index of the clustering key, relative to the other clustering keys
Public propertyName
Name of the column
Top
See Also