diff --git a/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec b/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec index 4b294bd2e..6a4b74a49 100644 --- a/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec +++ b/Src/Asp.NetCore2/SqlSugar/SqlSugarForCore.nuspec @@ -2,7 +2,7 @@ SqlSugarCore - 5.1.4.194-preview32 + 5.1.4.194-preview36 sunkaixuan 果糖大数据科技 http://www.apache.org/licenses/LICENSE-2.0.html diff --git a/Src/Asp.NetCore2/SqlSugar/Utilities/UtilMethods.cs b/Src/Asp.NetCore2/SqlSugar/Utilities/UtilMethods.cs index dc3fa8534..595314078 100644 --- a/Src/Asp.NetCore2/SqlSugar/Utilities/UtilMethods.cs +++ b/Src/Asp.NetCore2/SqlSugar/Utilities/UtilMethods.cs @@ -37,6 +37,7 @@ namespace SqlSugar // 需要重新构建新表结构 DataTable finalTable = new DataTable(); + finalTable.TableName = table.TableName; foreach (DataColumn column in table.Columns) { Type newType = column.DataType == typeof(DateTimeOffset) ? typeof(DateTime) : column.DataType;