Visit() protected method

protected Visit ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression
Ejemplo n.º 1
0
        public static ProjectedColumns ProjectColumns(TypeDescriptorProvider typeDescriptorProvider, Nominator nominator, Expression expression, string newAlias, params string[] existingAliases)
        {
            var projector = new ColumnProjector(typeDescriptorProvider, nominator, expression, newAlias, existingAliases);

            expression = projector.Visit(expression);

            return(new ProjectedColumns(expression, projector.columns.ToReadOnlyList()));
        }
Ejemplo n.º 2
0
		internal static ProjectedColumns ProjectColumns(Nominator nominator, Expression expression, IEnumerable<SqlColumnDeclaration> existingColumns, string newAlias, IEnumerable<string> existingAliases)
		{
			var projector = new ColumnProjector(nominator, expression, existingColumns, newAlias, existingAliases);

			expression = projector.Visit(expression);

			return new ProjectedColumns(expression, projector.columns.ToReadOnlyCollection());
		}
Ejemplo n.º 3
0
        internal static ProjectedColumns ProjectColumns(Nominator nominator, Expression expression, IEnumerable <SqlColumnDeclaration> existingColumns, string newAlias, IEnumerable <string> existingAliases)
        {
            var projector = new ColumnProjector(nominator, expression, existingColumns, newAlias, existingAliases);

            expression = projector.Visit(expression);

            return(new ProjectedColumns(expression, projector.columns.ToReadOnlyCollection()));
        }