Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMobileServiceTable<T> Interface

Updated: June 25, 2013

Provides operations on a table for a Mobile Service.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile (in Microsoft.WindowsAzure.Mobile.dll)
generic<typename T>
public interface class IMobileServiceTable : IMobileServiceTable

Type Parameters

T

The type of elements in the table (which implies the table).

The IMobileServiceTable<T> type exposes the following members.

  NameDescription
Public propertyMobileServiceClientGets a reference to the MobileServiceClient associated with this table. (Inherited from IMobileServiceTable.)
Public propertySystemPropertiesThe Mobile Service system properties to be included with items. (Inherited from IMobileServiceTable.)
Public propertyTableNameGets the name of the table. (Inherited from IMobileServiceTable.)
Top
  NameDescription
Public methodCreateQueryCreates a query for the current table.
Public methodDeleteAsync(JObject)Deletes an object from a given table. Supported only in Windows Phone 8 apps. (Inherited from IMobileServiceTable.)
Public methodDeleteAsync(T) Delete an instance from the table.
Public methodDeleteAsync(JObject, IDictionary<String, String>)Deletes an instance from the table. (Inherited from IMobileServiceTable.)
Public methodDeleteAsync(T, IDictionary<String, String>)Delete an instance from the table.
Public methodIncludeTotalCountCreates a query that will ensure it gets the total count for all the records that would have been returned ignoring any take paging/ limit clause specified by client or server.
Public methodInsertAsync(JObject)Inserts a new object into a table. Supported only in Windows Phone 8 apps. (Inherited from IMobileServiceTable.)
Public methodInsertAsync(T) Insert a new instance into the table.
Public methodInsertAsync(JObject, IDictionary<String, String>)Inserts an instance into the table. (Inherited from IMobileServiceTable.)
Public methodInsertAsync(T, IDictionary<String, String>)Insert a new instance into the table.
Public methodLookupAsync(Object) Lookup an element from a table by its ID.
Public methodLookupAsync(Object, IDictionary<String, String>)Lookup an instance from a table by its id.
Public methodOrderBy<TKey> Creates a query by applying the specified ascending order clause.
Public methodOrderByDescending<TKey> Creates a query by applying the specified descending order clause.
Public methodReadAsync() Get the elements in a table.
Public methodReadAsync(String)Executes a query against a table. (Inherited from IMobileServiceTable.)
Public methodReadAsync(String, IDictionary<String, String>)Excutes a query against the table. (Inherited from IMobileServiceTable.)
Public methodReadAsync<U>(IMobileServiceTableQuery<U>)Returns instances from a table using a query.
Public methodRefreshAsync(T) Refresh the current instance with the latest values from the table.
Public methodRefreshAsync(T, IDictionary<String, String>)Refresh the current instance with the latest values from the table.
Public methodSelect<U> Creates a query by applying the specified selection.
Public methodSkip Creates a query by applying the specified skip clause.
Public methodTake Creates a query by applying the specified take clause.
Public methodThenBy<TKey> Creates a query by applying the specified ascending order clause.
Public methodThenByDescending<TKey> Creates a query by applying the specified descending order clause.
Public methodToEnumerableAsync Gets the elements of the table asynchronously.
Public methodToListAsync Gets the elements of the table asynchronously and return the results in a new List.
Public methodUpdateAsync(JObject)Updates an object in a given table. Supported only in Windows Phone 8 apps. (Inherited from IMobileServiceTable.)
Public methodUpdateAsync(T) Updates an instance in the table.
Public methodUpdateAsync(JObject, IDictionary<String, String>)Updates an instance in the table. (Inherited from IMobileServiceTable.)
Public methodUpdateAsync(T, IDictionary<String, String>)Updates an instance in the table.
Public methodWhere Creates a query by applying the specified filter predicate.
Public methodWithParametersApplies to the source query the specified string key-value pairs to be used as user-defined parameters with the request URI query string.
Top
  NameDescription
Public Extension MethodToCollectionAsync<TTable>Create a new collection based on the table. (Defined by MobileServiceCollectionExtensions.)
Public Extension MethodToIncrementalLoadingCollection<TTable>Create a new incremental loading collection view based on the table. (Defined by MobileServiceIncrementalLoadingCollectionExtensions.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.