Share via


TableController<TData>.Query Method

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification="Caller disposes response.")]
protected virtual System.Linq.IQueryable<TData> Query();
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification="Caller disposes response.")>]
abstract member Query : unit -> System.Linq.IQueryable<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)>
override this.Query : unit -> System.Linq.IQueryable<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)>
Protected Overridable Function Query () As IQueryable(Of TData)

Returns

System.Linq.IQueryable<TData>

An System.Linq.IQueryable`1 returned by the IDomainManager<TData>.

Attributes
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute

Applies to