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

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

private Migrate_1 ( ) : bool
Результат bool
        private bool Migrate_1 ()
        {
            if (TableExists("Tracks")) {
                InitializeFreshDatabase (true);

                uint timer_id = Log.DebugTimerStart ("Database Schema Migration");

                OnSlowStarted (Catalog.GetString ("Upgrading your Banshee Database"),
                    Catalog.GetString ("Please wait while your old Banshee database is migrated to the new format."));

                Thread thread = new Thread (MigrateFromLegacyBanshee);
                thread.Name = "Database Migrator";
                thread.Start ();

                while (thread.IsAlive) {
                    OnSlowPulse ();
                    Thread.Sleep (100);
                }

                Log.DebugTimerPrint (timer_id);

                OnSlowFinished ();

                return false;
            } else {
                InitializeFreshDatabase (false);
                return false;
            }
        }