Puts a property values collection into SimpleDB.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# |
|---|
public void PutAttributes<T>( PropertyValues item ) |
| Visual Basic |
|---|
Public Sub PutAttributes(Of T) ( _ item As PropertyValues _ ) |
| Visual C++ |
|---|
public: generic<typename T> virtual void PutAttributes( PropertyValues^ item ) sealed |
Parameters
- item
- Type: Simol..::..PropertyValues
Values for the item to store
Type Parameters
- T
Implements
ISimol..::..PutAttributes<(Of <<'(T>)>>)(PropertyValues)
Remarks
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | If the item parameter is null |
| System..::..ArgumentException | If the item parameter contains property values that are incompatible with the item type. |
| 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 |