This commit is contained in:
2021-07-20 23:16:43 +00:00
parent 2968779ea6
commit 46e8014b86
17 changed files with 757 additions and 623 deletions

View File

@@ -58,11 +58,7 @@ namespace AyaNova.DataList
{
if (firstColumnAdded)
sb.Append(", ");
if (o.SqlColumnExpression != null)//if there is an expression defined then add it into the select statement, the valuecolumnname will be the AS alias of it
sb.Append(o.SqlColumnExpression);
else
sb.Append(valueColumnName);
sb.Append(valueColumnName);
firstColumnAdded = true;
map.Add(valueColumnName, nOrdinal++);
}