Executes the specified select statement against SimpleDB using advanced options provided by the command object.

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

ExceptionCondition
System..::..ArgumentNullExceptionIf the command parameter is null
System..::..ArgumentExceptionIf the command parameter has already been cancelled
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 requested item type

See Also