diff --git a/Src/Asp.Net/SqlServerTest/T4/SugarTemplate.tt b/Src/Asp.Net/SqlServerTest/T4/SugarTemplate.tt index a84cc3dfd..293bffa1d 100644 --- a/Src/Asp.Net/SqlServerTest/T4/SugarTemplate.tt +++ b/Src/Asp.Net/SqlServerTest/T4/SugarTemplate.tt @@ -16,7 +16,7 @@ <# //CTRL+S将会执行该文件的代码,自动作生实体 - JsonConvert.SerializeObject(new{}); + //当前项目目录 string projectDir = Host.ResolveAssemblyReference("$(ProjectDir)"); diff --git a/Src/Asp.Net/SqlServerTest/T4/SugarTemplate2.cs b/Src/Asp.Net/SqlServerTest/T4/SugarTemplate2.cs index 25df6085b..5f282702b 100644 --- a/Src/Asp.Net/SqlServerTest/T4/SugarTemplate2.cs +++ b/Src/Asp.Net/SqlServerTest/T4/SugarTemplate2.cs @@ -1,15 +1 @@ - - - - - - - - - - - - - - - + \ No newline at end of file