public void Visit(QueryExpressionTreeAndBranch tree) { foreach (var node in tree.Nodes) { var matcher = new QueryExpressionRowMatcher(_row); if (!matcher.Matches(node)) { _isMatch = false; return; } } }
private bool MatchesQuery(Row row, SqlQuery query) { var matcher = new QueryExpressionRowMatcher(row); return(matcher.Matches(query.QueryExpressionTree)); }