IDomainManager<TData>.LookupAsync Method (String)

 

Looks up a single item in the backend store.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Tables
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

Task<SingleResult<TData>> LookupAsync(
	string id
)

Parameters

id
Type: System.String

The id representing the item. The id is provided as part of the ITableData and is visible to the client. However, depending on the backend store and the domain model, the particular implementation may map the id to some other form of unique identifier.

Return Value

Type: System.Threading.Tasks.Task<SingleResult<TData>>

A SingleResult<T> representing the result of the lookup. A SingleResult<T> represents an IQueryable containing zero or one entities. This allows it to be composed with further querying such as $select.

See also M:QueryAsync which is the companion method for executing a query for multiple items.

Return to top
Show: