From ff97b8afbe8064c114bebf0fa64d559dc0b51f7b Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Tue, 8 Jul 2025 11:46:27 +0800 Subject: [PATCH] Optimization tips --- .../SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs | 2 +- Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs index 04acd1a27..192a24acb 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/CodeFirstProvider/CodeFirstProvider.cs @@ -368,7 +368,7 @@ namespace SqlSugar var dbColumn = entityInfo.Columns.FirstOrDefault(z => z.PropertyName == it.Key); if (dbColumn == null&&entityInfo.Discrimator==null) { - Check.ExceptionEasy($"{entityInfo.EntityName} no SugarIndex[ {it.Key} ] found", $"类{entityInfo.EntityName} 索引特性没找到列 :{it.Key}"); + Check.ExceptionEasy($"{entityInfo.EntityName} no SugarIndex[ {it.Key} ] found", $"类{entityInfo.EntityName} 索引特性没找到属性名 :{it.Key}"); } return new KeyValuePair(dbColumn.DbColumnName, it.Value); }) diff --git a/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec b/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec index cfe5d9b8e..40da8dc34 100644 --- a/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec +++ b/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec @@ -2,7 +2,7 @@ SqlSugarCore - 5.1.4.198-preview09 + 5.1.4.198-preview12 sunkaixuan 果糖大数据科技 http://www.apache.org/licenses/LICENSE-2.0.html