IMobileServiceSyncTable<T> IMobileServiceSyncTable<T> 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

Methods

CreateQuery() CreateQuery() CreateQuery()

Creates a query for the current table.

DeleteAsync(JObject) DeleteAsync(JObject) DeleteAsync(JObject)

Deletes an instance from the table.

(Inherited from IMobileServiceSyncTable)
DeleteAsync(T) DeleteAsync(T) DeleteAsync(T)

Deletes an instance from the table.

IncludeTotalCount() IncludeTotalCount() 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) InsertAsync(JObject) InsertAsync(JObject)

Inserts an instance into the table.

(Inherited from IMobileServiceSyncTable)
InsertAsync(T) InsertAsync(T) InsertAsync(T)

Inserts an instance into the table.

LookupAsync(String) LookupAsync(String) LookupAsync(String)

Lookup an instance from a table by its id.

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

Creates a query by applying the specified ascending order clause.

OrderByDescending<TKey>(Expression<Func<T,TKey>>) OrderByDescending<TKey>(Expression<Func<T,TKey>>) 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) PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken, PullOptions) 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<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken, PullOptions) PullAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken, PullOptions) PullAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken, PullOptions)

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

PurgeAsync(String, String, Boolean, CancellationToken) PurgeAsync(String, String, Boolean, CancellationToken) 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) PurgeAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken) PurgeAsync<U>(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken)

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

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

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

ReadAsync() ReadAsync() ReadAsync()

Returns instances from a table.

ReadAsync(String) ReadAsync(String) ReadAsync(String)

Executes a query against the table.

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

Returns instances from a table based on a query.

RefreshAsync(T) RefreshAsync(T) RefreshAsync(T)

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

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

Creates a query by applying the specified selection.

Skip(Int32) Skip(Int32) Skip(Int32)

Creates a query by applying the specified skip clause.

Take(Int32) Take(Int32) Take(Int32)

Creates a query by applying the specified take clause.

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

Creates a query by applying the specified ascending order clause.

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

Creates a query by applying the specified descending order clause.

ToEnumerableAsync() ToEnumerableAsync() ToEnumerableAsync()

Gets the elements of the table asynchronously.

ToListAsync() ToListAsync() ToListAsync()

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

UpdateAsync(JObject) UpdateAsync(JObject) UpdateAsync(JObject)

Updates an instance in the table.

(Inherited from IMobileServiceSyncTable)
UpdateAsync(T) UpdateAsync(T) UpdateAsync(T)

Updates an instance in the table.

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

Creates a query by applying the specified filter predicate.

Properties

MobileServiceClient MobileServiceClient MobileServiceClient

Gets a reference to the MobileServiceClient associated with this table.

(Inherited from IMobileServiceSyncTable)
SupportedOptions SupportedOptions SupportedOptions

The supported odata options on the remote table

(Inherited from IMobileServiceSyncTable)
TableName TableName TableName

Gets the name of the table.

(Inherited from IMobileServiceSyncTable)

Extension Methods

PullAsync(IMobileServiceSyncTable, String, String) PullAsync(IMobileServiceSyncTable, String, String) PullAsync(IMobileServiceSyncTable, String, String)

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

PullAsync(IMobileServiceSyncTable, String, String, PullOptions) PullAsync(IMobileServiceSyncTable, String, String, PullOptions) 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) PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, Boolean, CancellationToken) 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) PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, CancellationToken) 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, IDictionary<String,String>, CancellationToken, PullOptions) PullAsync(IMobileServiceSyncTable, String, String, IDictionary<String,String>, CancellationToken, PullOptions) 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<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions) 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) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, Boolean, CancellationToken) 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) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken) 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>, CancellationToken, PullOptions) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken, PullOptions) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken, PullOptions)

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

PurgeAsync(IMobileServiceSyncTable) PurgeAsync(IMobileServiceSyncTable) PurgeAsync(IMobileServiceSyncTable)

Deletes all the items in local table

PurgeAsync(IMobileServiceSyncTable, Boolean) PurgeAsync(IMobileServiceSyncTable, Boolean) PurgeAsync(IMobileServiceSyncTable, Boolean)

Deletes all the items in local table

PurgeAsync(IMobileServiceSyncTable, String) PurgeAsync(IMobileServiceSyncTable, String) PurgeAsync(IMobileServiceSyncTable, String)

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

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

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

Applies to