This commit is contained in:
sunkaixuna 2021-11-17 16:20:01 +08:00
parent 27499b0227
commit bc2c4cbdfe
2 changed files with 5 additions and 1 deletions

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);

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugar</id>
<version>5.0.4.3</version>
<version>5.0.4.4-preview02</version>
<title>SqlSugar .NET ORM Framework 版本, 5.0.3.3-max 最低要求 .Net Framework 4.6 | 5.0.0.2-5.0.3.2 最低要求 .Net Framework 4.5 | 4.0-4.9.11 最低要求 .Net Framework 4.0+ .NET ORM </title>
<authors>sun kaixuan</authors>
<owners>landa</owners>