Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
bbfd052c
Commit
bbfd052c
authored
Oct 07, 2020
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、导出优化:模型和SQL导出直接以记事本打开
parent
7d5b5f9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Tools.exe
AppHome/Tools.exe
+0
-0
Tools.pdb
AppHome/Tools.pdb
+0
-0
wDBTools.cs
Tools/UI/wDBTools.cs
+3
-3
No files found.
AppHome/Tools.exe
View file @
bbfd052c
No preview for this file type
AppHome/Tools.pdb
View file @
bbfd052c
No preview for this file type
Tools/UI/wDBTools.cs
View file @
bbfd052c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment