IMobileServiceSyncTable<T> Interface

Definition

Provides operations on local table.

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

Type Parameters

T
Implements

Properties

MobileServiceClient

Gets a reference to the MobileServiceClient associated with this table.

(Inherited from IMobileServiceSyncTable)
SupportedOptions

The supported odata options on the remote table

(Inherited from IMobileServiceSyncTable)
TableName

Gets the name of the table.

(Inherited from IMobileServiceSyncTable)

Methods

CreateQuery()

Creates a query for the current table.

DeleteAsync(JObject)

Deletes an instance from the table.

(Inherited from IMobileServiceSyncTable)
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(JObject)

Inserts an instance into the table.

(Inherited from IMobileServiceSyncTable)
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(String, String, IDictionary<String,String>, Boolean, CancellationToken, PullOptions)

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

(Inherited from IMobileServiceSyncTable)
PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken)

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

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

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

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

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

PurgeAsync(String, String, Boolean, CancellationToken)

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

(Inherited from IMobileServiceSyncTable)
PurgeAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken)

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

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

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

ReadAsync()

Returns instances from a table.

ReadAsync(String)

Executes a query against the table.

(Inherited from IMobileServiceSyncTable)
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(JObject)

Updates an instance in the table.

(Inherited from IMobileServiceSyncTable)
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)

Create a new collection based on the local table.

PullAsync(IMobileServiceSyncTable, String, String, PullOptions)

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

PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, Boolean, CancellationToken)

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

PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, CancellationToken, PullOptions)

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

PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, CancellationToken)

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

PullAsync(IMobileServiceSyncTable, String, String)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, Boolean, CancellationToken)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken, PullOptions)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>)

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

PurgeAsync(IMobileServiceSyncTable, Boolean)

Deletes all the items in local table

PurgeAsync(IMobileServiceSyncTable, String)

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

PurgeAsync(IMobileServiceSyncTable)

Deletes all the items in local table

PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>)

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

Applies to