Commit bbfd052c authored by tr's avatar tr

1、导出优化:模型和SQL导出直接以记事本打开

parent 7d5b5f9d
No preview for this file type
No preview for this file type
......@@ -205,8 +205,8 @@ namespace Tools.UI
var bytes = Encoding.UTF8.GetBytes(model);
fs.Write(bytes, 0, bytes.Length);
}
Utils.Tip("模型类导出成功!");
//Process.Start(modelFileName);
//Utils.Tip("模型类导出成功!");
Utils.OpenFileWithNotepad(modelFileName);
}
catch (Exception ex)
{
......@@ -241,7 +241,7 @@ namespace Tools.UI
}
//执行SQL
this._db.ExecNonSql(this._link, new List<string> { sql });
Utils.Tip("Sql生成并执行成功!");
//Utils.Tip("Sql生成并执行成功!");
Utils.OpenFileWithNotepad(sqlFileName);
}
catch (Exception ex)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment