C# Class Microsoft.WindowsAzure.MobileServices.MobileServiceTable

Provides operations on tables for a Mobile Service.
Mostrar archivo Open project: xamarin/azure-mobile-services Class Usage Examples

Public Methods

Method Description
MobileServiceTable ( string tableName, MobileServiceClient client ) : System

Initializes a new instance of the MobileServiceTables class.

Private Methods

Method Description
Patch ( IJsonValue original, IJsonValue updated ) : IJsonValue

Patch an object with the values returned by from the server. Given that it's possible for the server to change values on an insert or update, we want to make sure the client object reflects those changes.

SendDeleteAsync ( JsonObject instance, string>.IDictionary parameters ) : System.Threading.Tasks.Task

Delete an object from a given table.

SendInsertAsync ( JsonObject instance, string>.IDictionary parameters ) : Task

Insert a new object into a table.

SendLookupAsync ( object id, string>.IDictionary parameters ) : Task
SendReadAsync ( string queryString, string>.IDictionary parameters ) : Task

Execute a query against a table.

SendUpdateAsync ( JsonObject instance, string>.IDictionary parameters ) : Task

Update an object in a given table.

Method Details

MobileServiceTable() public method

Initializes a new instance of the MobileServiceTables class.
public MobileServiceTable ( string tableName, MobileServiceClient client ) : System
tableName string The name of the table.
client MobileServiceClient /// Reference to the MobileServiceClient associated with this table. ///
return System