Exemplo n.º 1
0
        ICollection <string> GetColumnNames(IEnumerable <SqlOrderExpression> orderList)
        {
            var visitor = new ColumnNameGatherer();

            foreach (var expr in orderList)
            {
                visitor.Visit(expr.Expression);
            }

            return(visitor.Names);
        }
Exemplo n.º 2
0
		ICollection<string> GetColumnNames(IEnumerable<SqlOrderExpression> orderList)
		{
			var visitor = new ColumnNameGatherer();

			foreach(var expr in orderList)
			{
				visitor.Visit(expr.Expression);
			}

			return visitor.Names;
		}