mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update 达梦
This commit is contained in:
parent
846eba09cb
commit
e8a872b2af
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.194-preview32</version>
|
<version>5.1.4.194-preview36</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
@ -37,6 +37,7 @@ namespace SqlSugar
|
|||||||
|
|
||||||
// 需要重新构建新表结构
|
// 需要重新构建新表结构
|
||||||
DataTable finalTable = new DataTable();
|
DataTable finalTable = new DataTable();
|
||||||
|
finalTable.TableName = table.TableName;
|
||||||
foreach (DataColumn column in table.Columns)
|
foreach (DataColumn column in table.Columns)
|
||||||
{
|
{
|
||||||
Type newType = column.DataType == typeof(DateTimeOffset) ? typeof(DateTime) : column.DataType;
|
Type newType = column.DataType == typeof(DateTimeOffset) ? typeof(DateTime) : column.DataType;
|
||||||
|
Loading…
Reference in New Issue
Block a user