예제 #1
0
 public static void UpgradeDatabase(string connectionString, bool newInstall)
 {
     try
     {
         UpgradeInstaller upgradeInstaller = new UpgradeInstaller(connectionString, newInstall);
         upgradeInstaller.Initialize();
         upgradeInstaller.RunUpgrade();
     }
     catch (Exception ex)
     {
         throw;
     }
 }