示例#1
0
        public override void Visit(CriteriaGroup node)
        {
            if (node?.Criteria == null || !node.Criteria.Any())
            {
                return;
            }

            var recursiveVisitor = recursiveVisitorFactory();

            recursiveVisitor.VisitLogicalCriteriaProvider(node);
            var spec = recursiveVisitor.GetSpecification();

            if (spec == null)
            {
                return;
            }
            specBeingBuilt = AddSpecification(spec, node.LogicalOperator);
        }
示例#2
0
 public virtual void Visit(CriteriaGroup node)
 {
 }