private void Execute() { SqlScriptFile sql = null; String filePath = ""; this.CreateTableStoredProcedureSqlScriptFile(); filePath = this.FolderPath + "DataConvert.sql"; sql = new DataConvertSqlScriptFile(this.Factory.DatabaseServer); sql.Tables.AddRange(this.Tables); sql.WriteAllText(filePath, Encoding.UTF8); this.OnFileGenerated(new SqlScriptFileGeneratedEventArgs(filePath)); this.OnCompleted(); }