mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
-
This commit is contained in:
@@ -629,6 +629,10 @@ namespace SqlSugar
|
|||||||
PropertyType = UtilMethods.GetUnderType(column.PropertyInfo),
|
PropertyType = UtilMethods.GetUnderType(column.PropertyInfo),
|
||||||
TableId = i
|
TableId = i
|
||||||
};
|
};
|
||||||
|
if (column.DbColumnName == null)
|
||||||
|
{
|
||||||
|
column.DbColumnName = column.PropertyName;
|
||||||
|
}
|
||||||
if (isMapping)
|
if (isMapping)
|
||||||
{
|
{
|
||||||
columnInfo.DbColumnName = GetDbColumnName(column.PropertyName);
|
columnInfo.DbColumnName = GetDbColumnName(column.PropertyName);
|
||||||
|
Reference in New Issue
Block a user