IMobileServiceSyncTable<T> Interface

Definition

Provides operations on local table.

public interface IMobileServiceSyncTable<T> : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable
Type Parameters
T
Implements

Methods

CreateQuery()

Creates a query for the current table.

DeleteAsync(T)

Deletes an instance from the table.

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(T)

Inserts an instance into the table.

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

PullAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken, PullOptions)

Pulls all items that match the given query from the associated remote table.

PurgeAsync<U>(String, IMobileServiceTableQuery<U>, CancellationToken)

Deletes all the items in local table that match the query.

PurgeAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken)

Deletes all the items in local table that match the query.

ReadAsync()

Returns instances from a table.

ReadAsync<U>(IMobileServiceTableQuery<U>)

Returns instances from a table based on a query.

RefreshAsync(T)

Refresh the current instance with the latest values from the local 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.

UpdateAsync(T)

Updates an instance in the table.

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

Creates a query by applying the specified filter predicate.

Extension Methods

ToCollectionAsync<TTable>(IMobileServiceSyncTable<TTable>, Int32)
PullAsync(IMobileServiceSyncTable, String, String)
PullAsync(IMobileServiceSyncTable, String, String, PullOptions)
PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, Boolean, CancellationToken)
PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, CancellationToken)
PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, CancellationToken, PullOptions)
PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>)
PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions)
PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, Boolean, CancellationToken)
PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken)
PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken, PullOptions)
PurgeAsync(IMobileServiceSyncTable)
PurgeAsync(IMobileServiceSyncTable, Boolean)
PurgeAsync(IMobileServiceSyncTable, String)
PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>)