public FeatureQueryExpression(AttributesPredicateExpression attributeFilter,
                               SpatialBinaryExpression spatialFilter, SortExpressionCollectionExpression sort)
     : base(new AllAttributesExpression(), new BinaryExpression(attributeFilter,
                                                                BinaryOperator.And,
                                                                spatialFilter), sort)
 {
 }
 public FeatureQueryExpression(AttributesProjectionExpression attributes,
                               AttributesPredicateExpression attributeFilter,
                               SpatialBinaryExpression spatialFilter)
     : base(attributes, new BinaryExpression(attributeFilter,
                                             BinaryOperator.And,
                                             spatialFilter))
 {
 }
        public override bool Equals(Expression other)
        {
            AttributesPredicateExpression predicate = other as AttributesPredicateExpression;

            if (predicate == null)
            {
                return(false);
            }

            return(predicate.Left.Equals(Left) &&
                   predicate.Op == Op &&
                   predicate.Right.Equals(Right));
        }
 public FeatureQueryExpression(AttributesPredicateExpression attributeFilter,
                               SpatialBinaryExpression spatialFilter,
                               OidCollectionExpression oidFilter, SortExpressionCollectionExpression sort)
     : this(new AllAttributesExpression(), attributeFilter, spatialFilter, oidFilter, sort)
 {
 }
 public FeatureQueryExpression(AttributesPredicateExpression attributeFilter, SortExpressionCollectionExpression sort)
     : base(new AllAttributesExpression(), attributeFilter, sort)
 {
 }
 public FeatureQueryExpression(AttributesPredicateExpression attributeFilter)
     : base(new AllAttributesExpression(), attributeFilter)
 {
 }