Exemplo n.º 1
0
        private LogicalExpressions.Expression GetDisjunctiveNormalForm(SearchCondition sc)
        {
            var exp = sc.GetExpressionTree();
            var dnf = new LogicalExpressions.DnfConverter();

            return(dnf.Visit(exp));
        }
 private LogicalExpressions.Expression GetDisjunctiveNormalForm(SearchCondition sc)
 {
     var exp = sc.GetExpressionTree();
     var dnf = new LogicalExpressions.DnfConverter();
     return dnf.Visit(exp);
 }
Exemplo n.º 3
0
 private string VisitTestHelper(string sql)
 {
     var dnf = new LogicalExpressions.DnfConverter();
     return dnf.Visit(GetSearchCondition(sql).GetExpressionTree()).ToString();
 }