internal string Translate(Expression expression, QueryBuilder queryBuilder) { expression = Evaluator.PartialEval(expression); _builder = new StringBuilder(); _queryBuilder = queryBuilder; this.Visit(expression); return _builder.ToString(); }
//, bool p internal WiqlQueryTranslationResult Translate(Expression expression, DateTime? asOf) { _builder = new QueryBuilder(); this.Visit(expression); return _builder.BuildQuery(asOf); }