Banshee.Database.BansheeDbFormatMigrator.Migrate_7 C# (CSharp) Метод

Migrate_7() приватный Метод

private Migrate_7 ( ) : bool
Результат bool
        private bool Migrate_7 ()
        {
            try { Execute ("UPDATE CorePrimarySources SET StringID = 'MusicLibrarySource-Library' WHERE StringID = 'Library'"); } catch {}
            try { Execute ("UPDATE CorePrimarySources SET StringID = 'VideoLibrarySource-VideoLibrary' WHERE StringID = 'VideoLibrary'"); } catch {}
            try { Execute ("UPDATE CorePrimarySources SET StringID = 'PodcastSource-podcasting' WHERE StringID = 'podcasting'"); } catch {}
            try { Execute ("DELETE FROM CoreCache; DELETE FROM CoreCacheModels"); } catch {}
            return true;
        }