TableController<TData>.Lookup(String) Method

Definition

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.

protected virtual 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)>
override this.Lookup : string -> System.Web.Http.SingleResult<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)>
Protected Overridable Function Lookup (id As String) As SingleResult(Of TData)

Parameters

id
String

Returns

System.Web.Http.SingleResult<TData>

An System.Web.Http.SingleResult`1 returned by the IDomainManager<TData>.

Applies to