예제 #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);
 }
예제 #3
0
 private string VisitTestHelper(string sql)
 {
     var dnf = new LogicalExpressions.DnfConverter();
     return dnf.Visit(GetSearchCondition(sql).GetExpressionTree()).ToString();
 }