Executes the specified select statement against SimpleDB
using advanced options provided by the command object.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public SelectResults<PropertyValues> SelectAttributes<T>( SelectCommand<T> command ) |
Visual Basic |
---|
Public Function SelectAttributes(Of T) ( _ command As SelectCommand(Of T) _ ) As SelectResults(Of PropertyValues) |
Visual C++ |
---|
public: generic<typename T> virtual SelectResults<PropertyValues^>^ SelectAttributes( SelectCommand<T>^ command ) sealed |
Parameters
- command
- Type: Simol..::..SelectCommand<(Of <(<'T>)>)>
The command to execute.
Type Parameters
- T
- Item type which defines mapping and formatting rules to use on return attributes
Return Value
The results returned by the select command or an empty results list if no items were returned.Implements
ISimol..::..SelectAttributes<(Of <<'(T>)>>)(SelectCommand<(Of <<'(T>)>>))Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the command parameter is null |
System..::..ArgumentException | If the command parameter has already been cancelled |
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 requested item type |