Ejemplo n.º 1
0
 /// <summary>
 /// Drops all tables from the database and updated DB Id
 /// </summary>
 /// <returns>The everything async.</returns>
 public Task DropEverythingAsync()
 {
     Settings.UpdateDatabaseId();
     CategoryStore.DropTable();
     EventStore.DropTable();
     NotificationStore.DropTable();
     SessionStore.DropTable();
     WorkshopStore.DropTable();
     SpeakerStore.DropTable();
     SponsorStore.DropTable();
     FeedbackStore.DropTable();
     FavoriteStore.DropTable();
     ApplicationDataStore.DropTable();
     IsInitialized = false;
     return(Task.FromResult(true));
 }