Class DynamoDBGlobalSecondaryIndexHashKeyAttribute
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class DynamoDBGlobalSecondaryIndexHashKeyAttribute : DynamoDBHashKeyAttribute
- Inheritance
-
DynamoDBGlobalSecondaryIndexHashKeyAttribute
- Inherited Members
Constructors
DynamoDBGlobalSecondaryIndexHashKeyAttribute(string)
Constructor that accepts a single inde name.
public DynamoDBGlobalSecondaryIndexHashKeyAttribute(string indexName)
Parameters
indexName
stringName of the Local Secondary Index this range key belongs to.
DynamoDBGlobalSecondaryIndexHashKeyAttribute(params string[])
Constructor that accepts multiple index names.
public DynamoDBGlobalSecondaryIndexHashKeyAttribute(params string[] indexNames)
Parameters
indexNames
string[]Names of the Local Secondary Indexes this range key belongs to.
Properties
IndexNames
Index associated with this range key
public string[] IndexNames { get; set; }
Property Value
- string[]