IMobileServiceTable<T> Interface

Definition

Provides operations on a table for a Mobile Service.

public interface IMobileServiceTable<T> : Microsoft.WindowsAzure.MobileServices.IMobileServiceTable
type IMobileServiceTable<'T> = interface
    interface IMobileServiceTable
Public Interface IMobileServiceTable(Of T)
Implements IMobileServiceTable

Type Parameters

T

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

Implements

Properties

MobileServiceClient

Gets a reference to the MobileServiceClient associated with this table.

(Inherited from IMobileServiceTable)
TableName

Gets the name of the table.

(Inherited from IMobileServiceTable)

Methods

CreateQuery()

Creates a query for the current table.

DeleteAsync(JObject)

Deletes an instance from the table.

(Inherited from IMobileServiceTable)
DeleteAsync(JObject, IDictionary<String,String>)

Deletes an instance from the table.

(Inherited from IMobileServiceTable)
DeleteAsync(T)

Delete an instance from the table.

DeleteAsync(T, IDictionary<String,String>)

Delete an instance from the table.

IncludeDeleted()

Creates a query that will ensure it gets the deleted records. This requires the soft delete feature to be enabled on the Mobile Service. Visit the link for details.

IncludeTotalCount()

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.

InsertAsync(JObject)

Inserts an instance into the table.

(Inherited from IMobileServiceTable)
InsertAsync(JObject, IDictionary<String,String>)

Inserts an instance into the table.

(Inherited from IMobileServiceTable)
InsertAsync(T)

Insert a new instance into the table.

InsertAsync(T, IDictionary<String,String>)

Insert a new instance into the table.

LookupAsync(Object)

Lookup an instance from a table by its id.

LookupAsync(Object, IDictionary<String,String>)

Lookup an instance from a table by its id.

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

Creates a query by applying the specified ascending order clause.

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

Creates a query by applying the specified descending order clause.

ReadAsync()

Returns instances from a table.

ReadAsync(String)

Executes a query against the table.

(Inherited from IMobileServiceTable)
ReadAsync(String, IDictionary<String,String>, Boolean)

Executes a query against the table.

(Inherited from IMobileServiceTable)
ReadAsync<U>(IMobileServiceTableQuery<U>)

Returns instances from a table using a query.

ReadAsync<U>(String)

Executes a query against the table.

RefreshAsync(T)

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

RefreshAsync(T, IDictionary<String,String>)

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

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

Creates a query by applying the specified selection.

Skip(Int32)

Creates a query by applying the specified skip clause.

Take(Int32)

Creates a query by applying the specified take clause.

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

Creates a query by applying the specified ascending order clause.

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

Creates a query by applying the specified descending order clause.

ToEnumerableAsync()

Gets the elements of the table asynchronously.

ToListAsync()

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

UndeleteAsync(JObject)

Undeletes an instance from the table. This requires the soft delete feature to be enabled on the Mobile Service. Visit the link for details.

(Inherited from IMobileServiceTable)
UndeleteAsync(JObject, IDictionary<String,String>)

Undeletes an instance from the table. This requires the soft delete feature to be enabled on the Mobile Service. Visit the link for details.

(Inherited from IMobileServiceTable)
UndeleteAsync(T)

Undeletes an instance from the table. This requires the soft delete feature to be enabled on the Mobile Service. Visit the link for details.

UndeleteAsync(T, IDictionary<String,String>)

Undeletes an instance from the table. This requires the soft delete feature to be enabled on the Mobile Service. Visit the link for details.

UpdateAsync(JObject)

Updates an instance in the table.

(Inherited from IMobileServiceTable)
UpdateAsync(JObject, IDictionary<String,String>)

Updates an instance in the table.

(Inherited from IMobileServiceTable)
UpdateAsync(T)

Updates an instance in the table.

UpdateAsync(T, IDictionary<String,String>)

Updates an instance in the table.

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

Creates a query by applying the specified filter predicate.

WithParameters(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.

Extension Methods

ReadAsync(IMobileServiceTable, String, IDictionary<String,String>)

Executes a query against the table.

Applies to