Inheritance: IQueryExpressionTreeVisitor
 public void Visit(QueryExpressionTreeAndBranch tree)
 {
     foreach (var node in tree.Nodes)
     {
         var matcher = new QueryExpressionRowMatcher(_row);
         if (!matcher.Matches(node))
         {
             _isMatch = false;
             return;
         }
     }
 }
Esempio n. 2
0
 public void Visit(QueryExpressionTreeAndBranch tree)
 {
     foreach (var node in tree.Nodes)
     {
         var matcher = new QueryExpressionRowMatcher(_row);
         if (!matcher.Matches(node))
         {
             _isMatch = false;
             return;
         }
     }
 }
Esempio n. 3
0
        private bool MatchesQuery(Row row, SqlQuery query)
        {
            var matcher = new QueryExpressionRowMatcher(row);

            return(matcher.Matches(query.QueryExpressionTree));
        }