public static void CreateContactPersonAddressTable(string cpAddressTableName, string cpTableName) { if (BORegistry.DataAccessor is DataAccessorInMemory) { return; } if (BORegistry.DataAccessor is DataAccessorMultiSource) { return; } var databaseConfig = MyDBConnection.GetDatabaseConfig(); var migrator = new Migrator(databaseConfig); migrator.DirectMigrateUp(new Migration_Temp_ContactPersonAddress(cpAddressTableName, cpTableName)); }