18 using System.Collections.Generic;
30 public IList<QueryReference> References {
get;
private set; }
32 public int Level {
get;
private set; }
36 VisitQueryReference((QueryReferenceExpression) expression);
38 return base.Visit(expression);
46 var value = constant.
Value;
50 var planNode = queryObject.QueryPlan;
51 References = planNode.DiscoverQueryReferences(Level, References);
54 return base.VisitConstant(constant);
void VisitQueryReference(QueryReferenceExpression expression)
A query to the database to select data from a set of tables and columns.
ISqlObject Value
Gets the underlined value that is handled.
DataObject Value
Gets the constant value of the expression.
QueryReferencesVisitor(IList< QueryReference > list, int level)
override SqlExpression VisitConstant(SqlConstantExpression constant)
override SqlExpression Visit(SqlExpression expression)
Visits a given SQL expression.
An expression that holds a constant value.
QueryReference QueryReference
Defines the base class for instances that represent SQL expression tree nodes.
A visitor for SqlExpression objects.