Deletes multiple items from SimpleDB (all attributes).
Namespace: SimolAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the itemNames parameter is null |
System..::..ArgumentException | If the itemNames types are invalid for the item type |
AmazonSimpleDBException | If the request to SimpleDB fails for any reason |
Simol..::..SimolDataException | If there are any property value conversion failures |
Simol..::..SimolConfigurationException | If no valid SimpleDB mapping can be configured for the specified item type |