DynamoDB property attribute that marks up current member as a hash key element.
Exactly one member in a class must be marked with this attribute.
Members that are marked as hash key must be convertible to
a Primitive object.
Declaration Syntax
C# |
public class DynamoDBHashKeyAttribute : DynamoDBPropertyAttribute
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
DynamoDBHashKeyAttribute()()()() |
Default constructor
| |
DynamoDBHashKeyAttribute(String) |
Constructor that specifies an alternate attribute name
| |
DynamoDBHashKeyAttribute(Type) |
Constructor that specifies a custom converter.
Converter must be the type of a class that implements IPropertyConverter.
| |
DynamoDBHashKeyAttribute(String, Type) |
Constructor that specifies an alternate attribute name and a custom converter.
Converter must be the type of a class that implements IPropertyConverter.
| |
AttributeName |
Name of attribute that is associated with this member.
(Inherited from DynamoDBRenamableAttribute.) | |
Converter |
Type of the custom converter.
(Inherited from DynamoDBPropertyAttribute.) | |
Equals(Object) | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode()()()() | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
IsDefaultAttribute()()()() | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
Match(Object) | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |
Inheritance Hierarchy