private static ProjectedColumns ProjectColumns(Expression expression, string newAlias, params string[] existingAliases) { return(ColumnProjector.ProjectColumns(expression, newAlias, existingAliases)); }
internal static ProjectedColumns ProjectColumns(Expression expression, string newAlias, IEnumerable <string> existingAliases) { ColumnProjector projector = new ColumnProjector(expression, newAlias, existingAliases); return(new ProjectedColumns(projector.Visit(expression), projector._columns.AsReadOnly())); }