public void GenerateInsertStatmentsForDatabase(DatabaseContainer database)
        {
            ISQLGenerator generator = SqlGeneratorFactory.Factory(database.DatabaseType);

            this._database     = database;
            textBoxOutput.Text = generator.GenerateInsertStatmentsForDatabase(this._database);
        }
Exemple #2
0
        private void postgresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var clonedDatabase = this._database.Clone();

            clonedDatabase.TransformToPostgres();

            this._userControlGenerate.Generate(clonedDatabase, SqlGeneratorFactory.Factory(DatabaseContainer.DatabaseTypePostgreSQL));
            this.setPanelUserControl(this._userControlGenerate);
        }