Exemplo n.º 1
0
 private static void RunMigration()
 {
     try
     {
         var migrationManager = new MigrationManager(OpenConnection());
         migrationManager.Apply();
     }
     catch (Exception e)
     {
         Log.Logger.Error(e, "RunMigration failed!");
         throw;
     }
 }
Exemplo n.º 2
0
        private static void RunMigrations()
        {
            var migrationManager = new MigrationManager(ApplicationManager.OpenConnection());

            migrationManager.Apply();
        }