mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 21:13:46 +08:00
Update Select<DTO>()
This commit is contained in:
@@ -1076,7 +1076,7 @@ namespace SqlSugar
|
||||
{
|
||||
var dbColumnName = firstColumn.DbColumnName;
|
||||
var AsName = item.PropertyName;
|
||||
sb.Append($"{this.SqlBuilder.GetTranslationColumnName(dbColumnName)} AS {AsName} ,");
|
||||
sb.Append($"{this.SqlBuilder.GetTranslationColumnName(dbColumnName)} AS {this.SqlBuilder.GetTranslationColumnName(AsName)} ,");
|
||||
}
|
||||
}
|
||||
selects = sb.ToString().TrimEnd(',');
|
||||
|
Reference in New Issue
Block a user