v10.10.2024.0701 使用IJsonHost改进Json序列化
大石头
编写于
2024-07-01 08:36:34
大石头
提交于
2024-07-01 08:44:42
X
<#@ template language="C#" hostSpecific="true" debug="true" #>
<#@ assembly name="$(SolutionDir)\..\Bin\NewLife.Core.dll" #>
<#@ assembly name="$(SolutionDir)\..\Bin\XCode.dll" #>
<#@ import namespace="System.Diagnostics" #>
<#@ import namespace="System.IO" #>
<#@ import namespace="XCode.Code" #>
<#@ output extension=".log" #>
<#
// 设置当前工作目录
PathHelper.BasePath = Host.ResolvePath(".");
// 导入模型文件并生成实体类,模型文件、输出目录、命名空间、连接名
EntityBuilder.Build();
#>
|