public Alteration(Table masterTable, Table targetTable, Ddl.Dialect dialect) { this.masterTable = masterTable; this.targetTable = targetTable; this.dialect = dialect; }
public void open() { log.statusUpdate(this.typeName + ": " + this.name); connection.Open(); DataTable info = connection.GetSchema("DataSourceInformation"); _platform = (string)info.Rows[0].ItemArray[1]; _dialect = Ddl.dialectFromPlatform(platform); _version = (string)info.Rows[0].ItemArray[2]; log.log(Logger.LogLevel.progress, "Database open: " + this.typeName + ": " + this.name + " ON " + server + " (" + platform + " " + version + ")" ); }