Example #1
0
        public void DropTablesIfNeeded()
        {
            if (!Numbers.NeedsToDrop())
            {
                return;
            }
            trackCollectionRepository.Drop();
            tracklistItemRepository.Drop();
            musicDatabase.Drop();
            musicDatabase.Drop();
            musicDatabase.Drop();
            trackCollectionRepository.Initialize();
            tracklistItemRepository.Initialize();
            musicDatabase.Initialize();
            musicDatabase.Initialize();
            musicDatabase.Initialize();

            videoDatabase.Drop();
            videoDatabase.Initialize();
        }