Skip to content

Instantly share code, notes, and snippets.

View phenomx2's full-sized avatar

Adrián Alberto Romero Granados phenomx2

  • México
View GitHub Profile
@phenomx2
phenomx2 / SyncManager.cs
Created March 16, 2018 18:26
MobileServiceSQLiteStore Handler
public class SyncManager : IDisposable
{
private readonly MobileServiceClient _client;
private readonly MobileServiceSQLiteStore _store;
public SyncManager()
{
_client = Locator.Current.GetService<MobileServiceClient>();
_store = new MobileServiceSQLiteStore(Constants.OfflineDbPath);
}