Share via


TableController<TData>.Lookup Method (String)

 

Provides a helper method for looking up an entity in a backend store. It deals with any exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

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

Syntax

protected virtual SingleResult<TData> Lookup(
    string id
)
protected:
virtual SingleResult<TData>^ Lookup(
    String^ id
)
abstract Lookup : 
        id:string -> SingleResult<'TData>
override Lookup : 
        id:string -> SingleResult<'TData>
Protected Overridable Function Lookup (
    id As String
) As SingleResult(Of TData)

Return Value

Type: System.Web.Http.SingleResult<TData>

An SingleResult<T> returned by the IDomainManager<TData>.

See Also

TableController<TData> Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top