Click or drag to resize

PrimaryKeyAttribute Class

An attribute used to indicate the primary key column names for the table a POCO is mapped to.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Cassandra.MappingPrimaryKeyAttribute

Namespace:  Cassandra.Mapping
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public class PrimaryKeyAttribute : Attribute

The PrimaryKeyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodPrimaryKeyAttribute
Specify the primary key column names (in order) for the table.
Top
Properties
  NameDescription
Public propertyColumnNames
The column names of the primary key columns for the table.
Top
See Also