TableController<TData>.Lookup(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- System.String
Returns
- System.Web.Http.SingleResult<TData>
An System.Web.Http.SingleResult`1 returned by the IDomainManager<TData>.