ICollection <string> GetColumnNames(IEnumerable <SqlOrderExpression> orderList) { var visitor = new ColumnNameGatherer(); foreach (var expr in orderList) { visitor.Visit(expr.Expression); } return(visitor.Names); }
ICollection<string> GetColumnNames(IEnumerable<SqlOrderExpression> orderList) { var visitor = new ColumnNameGatherer(); foreach(var expr in orderList) { visitor.Visit(expr.Expression); } return visitor.Names; }