다음을 통해 공유


MobileServiceLocalStore Class

Definition

Base implementation for IMobileServiceLocalStore

public abstract class MobileServiceLocalStore : IDisposable, Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore
type MobileServiceLocalStore = class
    interface IMobileServiceLocalStore
    interface IDisposable
Public MustInherit Class MobileServiceLocalStore
Implements IDisposable, IMobileServiceLocalStore
Inheritance
MobileServiceLocalStore
Derived
Implements

Constructors

MobileServiceLocalStore()

Properties

Initialized

Indicates whether store has been initialized or not.

Methods

DefineTable(String, JObject)

Defines the local table on the store.

DeleteAsync(MobileServiceTableQueryDescription)

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

DeleteAsync(String, IEnumerable<String>)

Deletes items from local table with the given list of ids

Dispose()

Dispose the instance

Dispose(Boolean)

Executed to clean up resources

EnsureInitialized()

Throws an exception if store is not initialized.

InitializeAsync()

Initializes the store for use.

LookupAsync(String, String)

Reads a single item from local table with specified id.

OnInitialize()

Executed when Initilize is called on the store instance.

ReadAsync(MobileServiceTableQueryDescription)

Reads data from local table by executing the query.

UpsertAsync(String, IEnumerable<JObject>, Boolean)

Updates or inserts data in local table.

Applies to