From 9e1220d880b6b751a42b363632d25324770ba454 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 18 Jul 2024 14:03:37 +0800 Subject: [PATCH] Update DynamicBuilder --- .../SqlSugar/Abstract/DynamicBuilder/Helper.cs | 14 ++++++++++++-- Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Src/Asp.NetCore2/SqlSugar/Abstract/DynamicBuilder/Helper.cs b/Src/Asp.NetCore2/SqlSugar/Abstract/DynamicBuilder/Helper.cs index 6dbb6b911..835f18422 100644 --- a/Src/Asp.NetCore2/SqlSugar/Abstract/DynamicBuilder/Helper.cs +++ b/Src/Asp.NetCore2/SqlSugar/Abstract/DynamicBuilder/Helper.cs @@ -76,7 +76,12 @@ namespace SqlSugar attributeType.GetProperty(nameof(SugarColumn.SqlParameterDbType)), attributeType.GetProperty(nameof(SugarColumn.SqlParameterSize)), attributeType.GetProperty(nameof(SugarColumn.IsArray)), - attributeType.GetProperty(nameof(SugarColumn.ColumnName)) + attributeType.GetProperty(nameof(SugarColumn.ColumnName)), + attributeType.GetProperty(nameof(SugarColumn.InsertSql)), + attributeType.GetProperty(nameof(SugarColumn.UpdateSql)), + attributeType.GetProperty(nameof(SugarColumn.ExtendedAttribute)), + attributeType.GetProperty(nameof(SugarColumn.IsDisabledAlterColumn)), + attributeType.GetProperty(nameof(SugarColumn.IsOwnsOne)) } , new object[] { sugarTable.IsPrimaryKey, @@ -96,7 +101,12 @@ namespace SqlSugar sugarTable.SqlParameterDbType, sugarTable.SqlParameterSize, sugarTable.IsArray, - sugarTable.ColumnName + sugarTable.ColumnName, + sugarTable.InsertSql, + sugarTable.UpdateSql, + sugarTable.ExtendedAttribute, + sugarTable.IsDisabledAlterColumn, + sugarTable.IsOwnsOne }); return attributeBuilder; } diff --git a/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec b/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec index 434b47a46..c37133f31 100644 --- a/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec +++ b/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec @@ -2,7 +2,7 @@ SqlSugarCore - 5.1.4.166-preview01 + 5.1.4.167-preview04 sunkaixuan 果糖大数据科技 http://www.apache.org/licenses/LICENSE-2.0.html