SALES: 1-800-867-1380

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)

public interface IMobileServiceTable<T> : IMobileServiceTable

Type Parameters

T

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

NameDescription
System_CAPS_pubpropertyMobileServiceClient

Gets a reference to the MobileServiceClient associated with this table. (Inherited from IMobileServiceTable.)

System_CAPS_pubpropertySystemProperties

The Mobile Service system properties to be included with items.(Inherited from IMobileServiceTable.)

System_CAPS_pubpropertyTableName

Gets the name of the table. (Inherited from IMobileServiceTable.)

NameDescription
System_CAPS_pubmethodCreateQuery()

Creates a query for the current table.

System_CAPS_pubmethodDeleteAsync(T)

Delete an instance from the table.

System_CAPS_pubmethodDeleteAsync(T, IDictionary<String, String>)

Delete an instance from the table.

System_CAPS_pubmethodDeleteAsync(JObject)

Deletes an object from a given table.

Supported only in Windows Phone 8 apps.(Inherited from IMobileServiceTable.)

System_CAPS_pubmethodDeleteAsync(JObject, IDictionary<String, String>)

Deletes an instance from the table.(Inherited from IMobileServiceTable.)

System_CAPS_pubmethodIncludeTotalCount()

Creates 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.

System_CAPS_pubmethodInsertAsync(T)

Insert a new instance into the table.

System_CAPS_pubmethodInsertAsync(T, IDictionary<String, String>)

Insert a new instance into the table.

System_CAPS_pubmethodInsertAsync(JObject)

Inserts a new object into a table.

Supported only in Windows Phone 8 apps.(Inherited from IMobileServiceTable.)

System_CAPS_pubmethodInsertAsync(JObject, IDictionary<String, String>)

Inserts an instance into the table.(Inherited from IMobileServiceTable.)

System_CAPS_pubmethodLookupAsync(Object)

Lookup an element from a table by its ID.

System_CAPS_pubmethodLookupAsync(Object, IDictionary<String, String>)

Lookup an instance from a table by its id.

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

Creates a query by applying the specified ascending order clause.

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

Creates a query by applying the specified descending order clause.

System_CAPS_pubmethodReadAsync()

Get the elements in a table.

System_CAPS_pubmethodReadAsync(String)

Executes a query against a table. (Inherited from IMobileServiceTable.)

System_CAPS_pubmethodReadAsync(String, IDictionary<String, String>)

Excutes a query against the table.(Inherited from IMobileServiceTable.)

System_CAPS_pubmethodReadAsync<U>(IMobileServiceTableQuery<U>)

Returns instances from a table using a query.

System_CAPS_pubmethodRefreshAsync(T)

Refresh the current instance with the latest values from the table.

System_CAPS_pubmethodRefreshAsync(T, IDictionary<String, String>)

Refresh the current instance with the latest values from the table.

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

Creates a query by applying the specified selection.

System_CAPS_pubmethodSkip(Int32)

Creates a query by applying the specified skip clause.

System_CAPS_pubmethodTake(Int32)

Creates a query by applying the specified take clause.

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

Creates a query by applying the specified ascending order clause.

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

Creates a query by applying the specified descending order clause.

System_CAPS_pubmethodToEnumerableAsync()

Gets the elements of the table asynchronously.

System_CAPS_pubmethodToListAsync()

Gets the elements of the table asynchronously and return the results in a new List.

System_CAPS_pubmethodUpdateAsync(T)

Updates an instance in the table.

System_CAPS_pubmethodUpdateAsync(T, IDictionary<String, String>)

Updates an instance in the table.

System_CAPS_pubmethodUpdateAsync(JObject)

Updates an object in a given table.

Supported only in Windows Phone 8 apps.(Inherited from IMobileServiceTable.)

System_CAPS_pubmethodUpdateAsync(JObject, IDictionary<String, String>)

Updates an instance in the table.(Inherited from IMobileServiceTable.)

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

Creates a query by applying the specified filter predicate.

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 table.(Defined by MobileServiceCollectionExtensions.)

System_CAPS_pubmethodToIncrementalLoadingCollection<TTable>()

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft