Class PartitionKeyAttribute
Indicates that the property or field is part of the Partition Key
Inheritance
PartitionKeyAttribute
Assembly: Cassandra.dll
Syntax
[Obsolete("Linq attributes are deprecated, use mapping attributes defined in Cassandra.Mapping.Attributes instead.")]
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = true)]
public class PartitionKeyAttribute : Attribute
Constructors
PartitionKeyAttribute(int)
Declaration
public PartitionKeyAttribute(int index = 0)
Parameters
Type |
Name |
Description |
int |
index |
|
Properties
Index
Declaration
public int Index { get; set; }
Property Value