Beispiel #1
0
        public string GetSanityQuery <TResult>(Expression expression)
        {
            var parser = new SanityExpressionParser(expression, DocType, MaxNestingLevel, typeof(TResult));

            return(parser.BuildQuery());
        }
Beispiel #2
0
        public string GetSanityQuery(Expression expression, Type resultType)
        {
            var parser = new SanityExpressionParser(expression, DocType, MaxNestingLevel, resultType, _excludeDocTypeConstraint);

            return(parser.BuildQuery());
        }