Example #1
0
 public override QueryBodyClause Visit(WhereClause expression)
 {
     var query=result;
     Visit(expression.Expression);
     
     return expression;
 }
Example #2
0
 public SelectStatement(TableAlias alias, IEnumerable<IAliasedExpression> columns, FromClause from, OrderByClause orderby, WhereClause where)
     : this(alias)
 {
     Columns = columns;
     From = from;
     OrderBy = orderby;
     Where = where;
 }
Example #3
0
 public override QueryBodyClause Visit(WhereClause expression)
 {
     bool wasInWhere = inWhere, wasInFrom = inFrom;
     inWhere = true;
     inFrom = false;
     var result = base.Visit(expression);
     inWhere = wasInWhere;
     inFrom = wasInFrom;
     return result;
 }
Example #4
0
 public DeleteStatement(FromClause from, WhereClause where)
 {
     From = from;
     Where = where;
 }
Example #5
0
 public WhereClause Update(WhereClause expression, Expression exp)
 {
     if (expression.Expression != exp)
         return new WhereClause(exp);
     return expression;
 }