Beispiel #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();
            MiniHacksStore.DropTable();
            NotificationStore.DropTable();
            LockerStore.DropTable();
            WineStore.DropTable();
            UserStore.DropTable();
            NewsStore.DropTable();
            FeedbackStore.DropTable();
            FavoriteStore.DropTable();
            WineVarietalStore.DropTable();

            IsInitialized = false;
            return(Task.FromResult(true));
        }