//public ITableSource CreateTable(ITableStructure table) //{ // Reload(); // ITableSource res = new TableDefSource(this, m_db.AddTable(MangleTable(table))); // m_db.SortTables(); // SaveToFile(); // return res; //} public void AlterDatabase(IDatabaseStructure src, IDatabaseStructure dst, DbDiffOptions opts) { Reload(); if (!SupportsMultipleSchema()) { var tmp = new DatabaseStructure(dst); tmp.RunNameTransformation(new SetSchemaNameTransformation(null)); dst = tmp; } m_conn.DbStruct.AlterDatabase(src, dst, opts, this); SaveToFile(); }