22 namespace Deveel.Data.Sql.Expressions {
28 public bool IsConstant {
get;
private set; }
31 var value = constant.
Value;
34 if (array != null && !array.IsNull) {
35 foreach (var exp
in array) {
36 if (!exp.IsConstant()) {
44 return base.VisitConstant(constant);
49 return base.VisitReference(reference);
54 return base.VisitVariableReference(reference);
58 return base.VisitFunctionCall(expression);
62 return base.VisitQuery(query);
override SqlExpression VisitVariableReference(SqlVariableReferenceExpression reference)
An expression that references an object within a context.
ISqlObject Value
Gets the underlined value that is handled.
DataObject Value
Gets the constant value of the expression.
override SqlExpression VisitConstant(SqlConstantExpression constant)
override SqlExpression VisitFunctionCall(SqlFunctionCallExpression expression)
Visits the expression that calls the function defined.
override SqlExpression VisitQuery(SqlQueryExpression query)
override SqlExpression VisitReference(SqlReferenceExpression reference)
SqlTypeCode
Enumerates the codes of all SQL types handled by the system.
An expression that holds a constant value.
Defines the base class for instances that represent SQL expression tree nodes.
An object that provides methods for accessing a finite collection of SQL expressions.
A visitor for SqlExpression objects.