This commit is contained in:
@@ -58,7 +58,11 @@ namespace AyaNova.DataList
|
||||
{
|
||||
if (firstColumnAdded)
|
||||
sb.Append(", ");
|
||||
sb.Append(valueColumnName);
|
||||
|
||||
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);
|
||||
firstColumnAdded = true;
|
||||
map.Add(valueColumnName, nOrdinal++);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user