mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 增加 FreeSql.Generator 实体类生成工具
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user