Click or drag to resize

PrimaryKeyAttribute Constructor

Specify the primary key column names (in order) for the table.

Namespace:  Cassandra.Mapping
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public PrimaryKeyAttribute(
	params string[] columnNames
)

Parameters

columnNames
Type: SystemString
The column names for the table's primary key.
See Also