mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-15 20:49:31 +08:00
-
This commit is contained in:
parent
61d22fe5cc
commit
621413ac6d
@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Data.Common;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
@ -679,7 +680,7 @@ namespace SqlSugar
|
|||||||
List<DbColumnInfo> dbColumn = new List<DbColumnInfo>();
|
List<DbColumnInfo> dbColumn = new List<DbColumnInfo>();
|
||||||
if (entity.Columns.Any(it => it.ColumnDescription.HasValue()))
|
if (entity.Columns.Any(it => it.ColumnDescription.HasValue()))
|
||||||
{
|
{
|
||||||
db.DbMaintenance.GetColumnInfosByTableName(entity.DbTableName, false);
|
dbColumn=db.DbMaintenance.GetColumnInfosByTableName(entity.DbTableName, false);
|
||||||
}
|
}
|
||||||
foreach (var item in columns)
|
foreach (var item in columns)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user