Puts a single property values collection into SimpleDB.

Namespace: Simol
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionIf mapping or item parameters are null
AmazonSimpleDBExceptionIf the request to SimpleDB fails for any reason
Simol..::..SimolDataExceptionIf the item values cannot be converted to SimpleDB attributes
Simol..::..SimolConfigurationExceptionIf no valid SimpleDB mapping can be configured for the specified item type

See Also