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.2.0
Syntax
C#
[ObsoleteAttribute("Linq attributes are deprecated, use mapping attributes defined in Cassandra.Mapping.Attributes instead.")]
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, 
	AllowMultiple = true)]
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
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
See Also