Deletes multiple items from SimpleDB (all attributes).

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public void Delete<T>(
	IList itemNames
)
Visual Basic
Public Sub Delete(Of T) ( _
	itemNames As IList _
)
Visual C++
public:
generic<typename T>
virtual void Delete(
	IList^ itemNames
) sealed

Parameters

itemNames
Type: System.Collections..::..IList
Item names of the items to delete

Type Parameters

T

Implements

ISimol..::..Delete<(Of <<'(T>)>>)(IList)

Remarks

Single items are deleted using the SimpleDB DeleteAttributes operation. Multiple items are deleted using the BatchDeleteAttributes operation. Lists of items are automatically split into multiple batches to fit within the 25 item limit for BatchDeleteAttributes.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionIf the itemNames parameter is null
System..::..ArgumentExceptionIf the itemNames types are invalid for the item type
AmazonSimpleDBExceptionIf the request to SimpleDB fails for any reason
Simol..::..SimolDataExceptionIf there are any property value conversion failures
Simol..::..SimolConfigurationExceptionIf no valid SimpleDB mapping can be configured for the specified item type

See Also