- 增加 FreeSql.Generator 实体类生成工具

This commit is contained in:
28810
2019-12-11 22:49:54 +08:00
parent 7797edebf1
commit 3c1e616f0b
2 changed files with 226 additions and 240 deletions

View File

@ -218,7 +218,7 @@ new Colorful.Formatter("推荐在实体类目录创建 gen.bat双击它重新
if (File.Exists(rebuildBat) == false)
{
File.WriteAllText(rebuildBat, @$"
FreeSql.Generator -Razor {ArgsRazorRaw} - NameOptions {string.Join(",", ArgsNameOptions.Select(a => a ? 1 : 0))} -NameSpace {ArgsNameSpace} -DB ""{ArgsDbType},{ArgsConnectionString}""
FreeSql.Generator -Razor {ArgsRazorRaw} -NameOptions {string.Join(",", ArgsNameOptions.Select(a => a ? 1 : 0))} -NameSpace {ArgsNameSpace} -DB ""{ArgsDbType},{ArgsConnectionString}""
");
Console.WriteFormatted(" OUT -> " + rebuildBat + " (以后) 双击它重新生成实体\r\n", Color.Magenta);
++outputCounter;