Puts a single property values collection into SimpleDB.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# |
|---|
public void PutAttributes( ItemMapping mapping, PropertyValues item ) |
| Visual Basic |
|---|
Public Sub PutAttributes ( _ mapping As ItemMapping, _ item As PropertyValues _ ) |
| Visual C++ |
|---|
public: virtual void PutAttributes( ItemMapping^ mapping, PropertyValues^ item ) sealed |
Parameters
- mapping
- Type: Simol..::..ItemMapping
The item mapping.
- item
- Type: Simol..::..PropertyValues
The item
Implements
ISimol..::..PutAttributes(ItemMapping, PropertyValues)
Remarks
Supports storage of arbitrary lists of item values without dependence on an item type.
See Put<(Of <<'(T>)>>)(List<(Of <<'(T>)>>)) for details on batch-put behavior.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | If mapping or item parameters are null |
| AmazonSimpleDBException | If the request to SimpleDB fails for any reason |
| Simol..::..SimolDataException | If the item values cannot be converted to SimpleDB attributes |
| Simol..::..SimolConfigurationException | If no valid SimpleDB mapping can be configured for the specified item type |