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<T> Select<T>(
	SelectCommand<T> command
)
Visual Basic
Public Function Select(Of T) ( _
	command As SelectCommand(Of T) _
) As SelectResults(Of T)
Visual C++
public:
generic<typename T>
virtual SelectResults<T>^ Select(
	SelectCommand<T>^ command
) sealed

Parameters

command
Type: Simol..::..SelectCommand<(Of <(<'T>)>)>
The command to execute.

Type Parameters

T
Type of returned items

Return Value

The results returned by the select command or an empty results list if no items were returned.

Remarks

Care should be taken when selecting against potentially large result sets as all available results are returned by default. Use MaxResultPages and PaginationToken to precisely control the number of results returned for each request.

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 the SimpleDB item cannot be converted into the requested item type
Simol..::..SimolConfigurationExceptionIf no valid SimpleDB mapping can be configured for the requested item type

See Also