DomainManager<TData>.Lookup(String) Method

Definition

Builds an System.Linq.IQueryable`1 to be executed against a store supporting System.Linq.IQueryable`1 for looking up a single item.

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

Parameters

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

Returns

System.Web.Http.SingleResult<TData>

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

Implements

Remarks

See also Query which is the companion method for creating an System.Linq.IQueryable`1 representing multiple items.

Applies to