Share via


IDomainManager<TData>.Lookup(String) Method

Definition

Builds an IQueryable<T> to be executed against a store supporting IQueryable<T> for looking up a single item.

public System.Web.Http.SingleResult<TData> Lookup (string id);
abstract member Lookup : string -> System.Web.Http.SingleResult<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)>
Public Function Lookup (id As String) As SingleResult(Of TData)

Parameters

id
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.

Returns

System.Web.Http.SingleResult<TData>

A System.Web.Http.SingleResult`1 containing the IQueryable<T> which has not yet been executed.

Remarks

See also Query which is the companion method for creating an IQueryable<T> representing multiple items.

Applies to