IMobileServiceTable<T>
Interface
Definition
Provides operations on a table for a Mobile Service.
public interface IMobileServiceTable<T> : Microsoft.WindowsAzure.MobileServices.IMobileServiceTable
- T
The type of instances in the table (which implies the table).
- Implements
Methods
| CreateQuery() |
Creates a query for the current table. |
| 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(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<U>(IMobileServiceTableQuery<U>) |
Returns instances from a table using a query. |
| ReadAsync<U>(String) |
Executes a query against the table. |
| RefreshAsync(T, IDictionary<String,String>) |
Refresh the current instance with the latest values from the table. |
| RefreshAsync(T) |
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(T) |
Undeletes an |
| UndeleteAsync(T, IDictionary<String,String>) |
Undeletes an |
| 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
| ToCollectionAsync<TTable>(IMobileServiceTable<TTable>, Int32) | |
| ReadAsync(IMobileServiceTable, String, IDictionary<String,String>) |