Méthode | Description | |
---|---|---|
DefineTable ( string tableName, Newtonsoft.Json.Linq.JObject item ) : void |
Defines the local table on the store.
|
|
DeleteAsync ( Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription query ) : Task |
Deletes items from local table that match the given query.
|
|
DeleteAsync ( string tableName, IEnumerable |
Deletes items from local table with the given list of ids
|
|
LookupAsync ( string tableName, string id ) : Task |
Executes a lookup against a local table.
|
|
MobileServiceSQLiteStore ( string fileName ) : System |
Initializes a new instance of MobileServiceSQLiteStore
|
|
ReadAsync ( Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription query ) : Task |
Reads data from local store by executing the query.
|
|
UpsertAsync ( string tableName, IEnumerable |
Updates or inserts data in local table.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
ExecuteNonQuery ( string sql, object>.IDictionary |
Executes a sql statement on a given table in local SQLite database.
|
|
ExecuteQuery ( TableDefinition table, string sql, object>.IDictionary |
||
ExecuteQuery ( string tableName, string sql, object>.IDictionary |
Executes a sql statement on a given table in local SQLite database.
|
|
MobileServiceSQLiteStore ( ) : System | ||
OnInitialize ( ) : Task |
Méthode | Description | |
---|---|---|
AddParameter ( Newtonsoft.Json.Linq.JObject item, object>.Dictionary |
||
AppendInsertValuesSql ( StringBuilder sql, object>.Dictionary |
||
BatchInsert ( string tableName, IEnumerable |
||
BatchUpdate ( string tableName, IEnumerable |
||
CreateAllTables ( ) : void | ||
CreateParameter ( object>.Dictionary |
||
CreateTableFromObject ( string tableName, IEnumerable |
||
GetSystemProperties ( Newtonsoft.Json.Linq.JObject item ) : MobileServiceSystemProperties | ||
GetTable ( string tableName ) : TableDefinition | ||
InitializeConfig ( ) : Task | ||
ReadRow ( TableDefinition table, SQLitePCL.sqlite3_stmt statement ) : Newtonsoft.Json.Linq.JObject | ||
SaveSetting ( string name, string value ) : Task | ||
UpsertAsyncInternal ( string tableName, IEnumerable |
||
ValidateParameterCount ( int parametersCount ) : int |
public DefineTable ( string tableName, Newtonsoft.Json.Linq.JObject item ) : void | ||
tableName | string | Name of the local table. |
item | Newtonsoft.Json.Linq.JObject | An object that represents the structure of the table. |
Résultat | void |
public DeleteAsync ( Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription query ) : Task | ||
query | Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription | A query to find records to delete. |
Résultat | Task |
public DeleteAsync ( string tableName, IEnumerable |
||
tableName | string | Name of the local table. |
ids | IEnumerable |
A list of ids of the items to be deleted |
Résultat | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
protected ExecuteNonQuery ( string sql, object>.IDictionary |
||
sql | string | |
parameters | object>.IDictionary | The query parameters. |
Résultat | void |
protected ExecuteQuery ( TableDefinition table, string sql, object>.IDictionary |
||
table | TableDefinition | |
sql | string | |
parameters | object>.IDictionary | |
Résultat | IList |
protected ExecuteQuery ( string tableName, string sql, object>.IDictionary |
||
tableName | string | The name of the table. |
sql | string | The SQL query to execute. |
parameters | object>.IDictionary | The query parameters. |
Résultat | IList |
public LookupAsync ( string tableName, string id ) : Task |
||
tableName | string | Name of the local table. |
id | string | The id of the item to lookup. |
Résultat | Task |
protected MobileServiceSQLiteStore ( ) : System | ||
Résultat | System |
public MobileServiceSQLiteStore ( string fileName ) : System | ||
fileName | string | Name of the local SQLite database file. |
Résultat | System |
public ReadAsync ( Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription query ) : Task |
||
query | Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription | The query to execute on local store. |
Résultat | Task |
public UpsertAsync ( string tableName, IEnumerable |
||
tableName | string | Name of the local table. |
items | IEnumerable |
A list of items to be inserted. |
ignoreMissingColumns | bool | true if the extra properties on item can be ignored; false otherwise. |
Résultat | Task |