Exemple #1
0
        private void RenderNonScalarIdentifiers(FromElement fromElement, int nonscalarSize, int j, ISelectExpression expr, ASTAppender appender)
        {
            string text = fromElement.RenderIdentifierSelect(nonscalarSize, j);

            if (!fromElement.FromClause.IsSubQuery)
            {
                if (!_scalarSelect && !Walker.IsShallowQuery)
                {
                    //TODO: is this a bit ugly?
                    expr.Text = text;
                }
                else
                {
                    appender.Append(HqlSqlWalker.SQL_TOKEN, text, false);
                }
            }
        }
		private void RenderNonScalarIdentifiers(FromElement fromElement, int nonscalarSize, int j, ISelectExpression expr, ASTAppender appender)
		{
			string text = fromElement.RenderIdentifierSelect(nonscalarSize, j);

			if (!fromElement.FromClause.IsSubQuery)
			{
				if (!_scalarSelect && !Walker.IsShallowQuery)
				{
					//TODO: is this a bit ugly?
					expr.Text = text;
				}
				else
				{
					appender.Append(HqlSqlWalker.SQL_TOKEN, text, false);
				}
			}
		}