private void SetupSyncsSoupIfNotExistsNeeded() { if (_store.HasSoup(SoupName)) { return; } _store.RegisterSoup(SoupName, _indexSpecs); }
private void SetupSyncsSoupIfNotExistsNeeded() { IndexSpec[] indexSpecs = { new IndexSpec("UserId", SmartStoreType.SmartString) }; if (!_store.HasSoup(SoupName)) { _store.RegisterSoup(SoupName, indexSpecs); } }
private void SetupSyncsSoupIfNotExists() { IndexSpec[] indexSpecs = { new IndexSpec(SuccessfulSync.TransactionItemTypeIndexKey, SmartStoreType.SmartString), new IndexSpec(SuccessfulSync.SyncIdIndexKey, SmartStoreType.SmartString), }; if (!_store.HasSoup(SoupName)) { _store.RegisterSoup(SoupName, indexSpecs); } }
private void SetupNewCategoryContentSoupIfNotExists() { IndexSpec[] indexSpecs = { new IndexSpec("Id", SmartStoreType.SmartString), new IndexSpec(Model.Models.CategoryContent.CategoryIdIndexKey, SmartStoreType.SmartString), }; if (!_store.HasSoup(SoupName)) { _store.RegisterSoup(SoupName, indexSpecs); } }
public void RegisterSoup() { _store.RegisterSoup(NotesSoup, NotesIndexSpec); }
public void RegisterSoup() { _store.RegisterSoup(ContactSoup, ContactsIndexSpec); }
public void CreateAccountsSoup() { _store.RegisterSoup(AccountsSoup, AccountsIndexSpecs); }