internal string Translate(Expression expression, QueryBuilder queryBuilder)
        {
            expression = Evaluator.PartialEval(expression);
            _builder = new StringBuilder();
            _queryBuilder = queryBuilder;

            this.Visit(expression);

            return _builder.ToString();
        }
예제 #2
0
 //, bool p
 internal WiqlQueryTranslationResult Translate(Expression expression, DateTime? asOf)
 {
     _builder = new QueryBuilder();
     this.Visit(expression);
     return _builder.BuildQuery(asOf);
 }