public QueryObject(QueryExpression Conditions, List<SortObject> Sorts, int PageSize, int Offset) { this.Conditions = Conditions; this.Sorts = Sorts; this.PageSize = PageSize; this.Offset = Offset; }
internal QueryExpression(bool Negated, ExpressionType Type, string FieldName, Operator? Operator, string Value, QueryExpression LeftExpression, QueryOperand Operand, QueryExpression RightExpression) { this.Negated = Negated; this.Type = Type; this.FieldName = FieldName; this.Operator = Operator; this.Value = Value; this.LeftExpression = LeftExpression; this.Operand = Operand; this.RightExpression = RightExpression; }
internal QueryExpression(QueryExpression FirstExpression, QueryOperand Operand, QueryExpression SecondExpression) { this.Type = ExpressionType.Complex; this.LeftExpression = FirstExpression; this.Operand = Operand; this.RightExpression = SecondExpression; }