internal static ProjectedColumns ProjectColumns(Func <Expression, bool> fnCanBeColumn, Expression expression, string newAlias, TextWriter logger, params string[] existingAliases)
        {
            ColumnProjector projector = new ColumnProjector(fnCanBeColumn, expression, newAlias, logger, existingAliases);
            Expression      expr      = projector.Visit(expression);

            return(new ProjectedColumns(expr, projector.columns.AsReadOnly()));
        }
Beispiel #2
0
 private ProjectedColumns ProjectColumns(Expression expression, string newAlias, params string[] existingAliases)
 {
     return(ColumnProjector.ProjectColumns(this.CanBeColumn, expression, newAlias, Logger, existingAliases));
 }