} // /// <summary> ///Get list of columns for SELECT statement. /// Handles virtual columns /// </summary> /// <returns>select columns</returns> public String GetSelectColumns() { GetColumns(false); StringBuilder sb = new StringBuilder(); for (int i = 0; i < m_columns.Length; i++) { MColumn col = m_columns[i]; if (i > 0) { sb.Append(","); } if (col.IsVirtualColumn()) { sb.Append(col.GetColumnSQL()).Append(" AS "); } sb.Append(col.GetColumnName()); } return(sb.ToString()); } // getSelectColum