IMobileServiceTableQuery<T> Interface

 

Updated: June 25, 2013

Represents a query that can be evaluated against a Mobile Services table. MobileServiceTableQuery instances can be obtained via MobileServiceClient.Query(of T)().

Namespace:   Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile (in Microsoft.WindowsAzure.Mobile.dll)

public interface IMobileServiceTableQuery<T>

Type Parameters

T

NameDescription
System_CAPS_pubpropertyParameters

The user-defined query string parameters to include with the query.

System_CAPS_pubpropertyRequestTotalCount

Gets a value indicating whether the query will request the total count for all the records that would have been returned ignoring any take paging/limit clause specified by client or server.

System_CAPS_pubpropertyTable

Gets the MobileServiceTable being queried.

NameDescription
System_CAPS_pubmethodIncludeTotalCount()

Requests that the query also return a total count of all the records that would have been returned without any paging implemented by either the client or the server.

System_CAPS_pubmethodOrderBy<TKey>(Expression<Func<T, TKey>>)

Applies the specified ascending order clause to the source query.

System_CAPS_pubmethodOrderByDescending<TKey>(Expression<Func<T, TKey>>)

Applies the specified descending order clause to the source query.

System_CAPS_pubmethodSelect<U>(Expression<Func<T, U>>)

Applies the specified selection to the source query.

System_CAPS_pubmethodSkip(Int32)

Applies the specified skip clause to the source query.

System_CAPS_pubmethodTake(Int32)

Applies the specified take clause to the source query.

System_CAPS_pubmethodThenBy<TKey>(Expression<Func<T, TKey>>)

Applies the specified ascending order clause to the source query.

System_CAPS_pubmethodThenByDescending<TKey>(Expression<Func<T, TKey>>)

Applies the specified descending order clause to the source query.

System_CAPS_pubmethodToEnumerableAsync()

Evalute the query asynchronously and return the results.

System_CAPS_pubmethodToListAsync()

Evalute the query asynchronously and return the results in a new List.

System_CAPS_pubmethodWhere(Expression<Func<T, Boolean>>)

Applies the specified filter predicate to the source query.

System_CAPS_pubmethodWithParameters(IDictionary<String, String>)

Applies to the source query the specified string key-value pairs to be used as user-defined parameters with the request URI query string.

NameDescription
System_CAPS_pubmethodToCollectionAsync<TTable>(Int32)

Overloaded. Create a new collection based on the query.(Defined by MobileServiceCollectionExtensions.)

System_CAPS_pubmethodToIncrementalLoadingCollection<TTable>()

Overloaded. Create a new incremental loading collection view based on the query.(Defined by MobileServiceIncrementalLoadingCollectionExtensions.)

Rather than implenting IQueryable directly, we've implemented the portion of the LINQ query pattern we support on MobileServiceTableQuery objects. MobileServiceTableQuery instances are used to build up IQueryables from LINQ query operations.

Return to top
Show: