Click or drag to resize
PartitionKeyAttribute Class
Indicates that the property or field is part of the Partition Key
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Cassandra.Mapping.AttributesPartitionKeyAttribute

Namespace: Cassandra.Mapping.Attributes
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public class PartitionKeyAttribute : Attribute

The PartitionKeyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodPartitionKeyAttribute
Specify the primary key column names (in order) for the table.
Top
Properties
  NameDescription
Public propertyIndex
The index of the key, relative to the other partition keys.
Top
See Also