protected override void VisitNot(NotExpression expression) { if (expression.InnerExpression != null) { var rightClause = VisitInner(expression.InnerExpression); LinqExpression = PredicateBuilder.And(PredicateBuilder.False<TextContent>(), rightClause); } }
protected override void VisitNot(NotExpression expression) { throw new NotSupportedException(); }
protected override void VisitNot(NotExpression expression) { if (expression.InnerExpression != null) { var rightClause = VisitInner(expression.InnerExpression); SetQuery(QueryBuilder.Query.Not(rightClause)); } }
protected abstract void VisitNot(NotExpression expression);
protected override void VisitNot(NotExpression expression) { ThrowNotSupported(); }
protected override void VisitNot(NotExpression expression) { string clause = "True"; if (!(expression.InnerExpression is TrueExpression)) { clause = VisitInner(expression.InnerExpression).ClauseText; } clauseText.AppendFormat("NOT({0})", clause); }