Экспорт (0) Печать
Развернуть все
EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

IMobileServiceTable<T> Methods

Updated: June 25, 2013

The IMobileServiceTable<T> type exposes the following members.

  Name Description
Public method CreateQuery Creates a query for the current table.
Public method DeleteAsync(JObject) Deletes an object from a given table. Supported only in Windows Phone 8 apps. (Inherited from IMobileServiceTable.)
Public method DeleteAsync(T) Delete an instance from the table.
Public method DeleteAsync(JObject, IDictionary<String, String>) Deletes an instance from the table. (Inherited from IMobileServiceTable.)
Public method DeleteAsync(T, IDictionary<String, String>) Delete an instance from the table.
Public method 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.
Public method InsertAsync(JObject) Inserts a new object into a table. Supported only in Windows Phone 8 apps. (Inherited from IMobileServiceTable.)
Public method InsertAsync(T) Insert a new instance into the table.
Public method InsertAsync(JObject, IDictionary<String, String>) Inserts an instance into the table. (Inherited from IMobileServiceTable.)
Public method InsertAsync(T, IDictionary<String, String>) Insert a new instance into the table.
Public method LookupAsync(Object) Lookup an element from a table by its ID.
Public method LookupAsync(Object, IDictionary<String, String>) Lookup an instance from a table by its id.
Public method OrderBy<TKey> Creates a query by applying the specified ascending order clause.
Public method OrderByDescending<TKey> Creates a query by applying the specified descending order clause.
Public method ReadAsync() Get the elements in a table.
Public method ReadAsync(String) Executes a query against a table. (Inherited from IMobileServiceTable.)
Public method ReadAsync(String, IDictionary<String, String>) Excutes a query against the table. (Inherited from IMobileServiceTable.)
Public method ReadAsync<U>(IMobileServiceTableQuery<U>) Returns instances from a table using a query.
Public method RefreshAsync(T) Refresh the current instance with the latest values from the table.
Public method RefreshAsync(T, IDictionary<String, String>) Refresh the current instance with the latest values from the table.
Public method Select<U> Creates a query by applying the specified selection.
Public method Skip Creates a query by applying the specified skip clause.
Public method Take Creates a query by applying the specified take clause.
Public method ThenBy<TKey> Creates a query by applying the specified ascending order clause.
Public method ThenByDescending<TKey> Creates a query by applying the specified descending order clause.
Public method ToEnumerableAsync Gets the elements of the table asynchronously.
Public method ToListAsync Gets the elements of the table asynchronously and return the results in a new List.
Public method UpdateAsync(JObject) Updates an object in a given table. Supported only in Windows Phone 8 apps. (Inherited from IMobileServiceTable.)
Public method UpdateAsync(T) Updates an instance in the table.
Public method UpdateAsync(JObject, IDictionary<String, String>) Updates an instance in the table. (Inherited from IMobileServiceTable.)
Public method UpdateAsync(T, IDictionary<String, String>) Updates an instance in the table.
Public method Where Creates a query by applying the specified filter predicate.
Public method WithParameters Applies to the source query the specified string key-value pairs to be used as user-defined parameters with the request URI query string.
Top

  Name Description
Public Extension Method ToCollectionAsync<TTable> Create a new collection based on the table. (Defined by MobileServiceCollectionExtensions.)
Public Extension Method ToIncrementalLoadingCollection<TTable> Create a new incremental loading collection view based on the table. (Defined by MobileServiceIncrementalLoadingCollectionExtensions.)
Top

Добавления сообщества

ДОБАВИТЬ
Показ:
© 2014 Microsoft