PrimaryKeyAttribute Constructor |
Specify the primary key column names (in order) for the table.
Namespace: Cassandra.MappingAssembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax public PrimaryKeyAttribute(
params string[] columnNames
)
Parameters
- columnNames
- Type: SystemString
The column names for the table's primary key.
See Also