Loads an object from DynamoDB for the given hash-and-range primary key and using the given config.
Passed-in config overrides DynamoDBContextConfig 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, Object rangeKey, DynamoDBOperationConfig operationConfig )
Generic Template Parameters
- T
- Type to populate.
Parameters
- hashKey (Object)
- Hash key element of the target item.
- rangeKey (Object)
- Range key element of the target item.
- operationConfig (DynamoDBOperationConfig)
- Overriding configuration.
Return Value
Object of type T, populated with properties of item loaded from DynamoDB.