Esempio n. 1
0
 private void CreateVersionTable()
 {
     if (_dataClient.TableExists(VERSION_TABLE_NAME))
     {
         return;
     }
     try {
         TryCreateVersionTable();
     }
     catch (Exception ex) {
         throw new MigrationException("Could not create schema version table (" + VERSION_TABLE_NAME + "). See inner exception for details.", ex);
     }
     finally {
         _dataClient.Close();
     }
 }