This commit is contained in:
sunkaixuna 2021-11-17 16:21:49 +08:00
parent bc2c4cbdfe
commit 4e9fb057e9

View File

@ -629,6 +629,10 @@ namespace SqlSugar
PropertyType = UtilMethods.GetUnderType(column.PropertyInfo),
TableId = i
};
if (column.DbColumnName == null)
{
column.DbColumnName = column.PropertyName;
}
if (isMapping)
{
columnInfo.DbColumnName = GetDbColumnName(column.PropertyName);