Loads an object from DynamoDB for the given hash primary key.
Uses DynamoDBContextConfig configured on the context.
Type must be marked up with DynamoDBTableAttribute and at least
one public field/property with DynamoDBHashKeyAttribute.
Declaration Syntax
C# |
T Load<T>( Object hashKey )
Generic Template Parameters
- T
- Type to populate.
Parameters
- hashKey (Object)
- Hash key element of the target item.
Return Value
Object of type T, populated with properties of item loaded from DynamoDB.