/// <summary>
        /// Appends the specified operator and <see cref="IMdxExpression"/> to the
        /// end of expression and returns the updated current <see cref="MdxExpression"/>.
        /// </summary>
        /// <param name="operationOperator">Appended operation operator.</param>
        /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
        /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
        public MdxExpression WithOperation(string operationOperator, IMdxExpression operand)
        {
            _operators.Add(operationOperator);
            _operands.Add(operand);

            return(this);
        }
        /// <summary>
        /// Appends the specified operator and <see cref="IMdxExpression"/> to the 
        /// end of expression and returns the updated current <see cref="MdxExpression"/>.
        /// </summary>
        /// <param name="operationOperator">Appended operation operator.</param>
        /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
        /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
        public MdxExpression WithOperation(string operationOperator, IMdxExpression operand)
        {
            _operators.Add(operationOperator);
            _operands.Add(operand);

            return this;
        }
 /// <summary>
 /// Appends the <see cref="IMdxExpression"/> to the end of expression and 
 /// returns the updated current <see cref="MdxExpression"/>.
 /// </summary>
 /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
 /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
 public MdxExpression WithOperand(IMdxExpression operand)
 {
     _operands.Add(operand);
     return this;
 }
 /// <summary>
 /// Appends the <see cref="IMdxExpression"/> to the end of expression and
 /// returns the updated current <see cref="MdxExpression"/>.
 /// </summary>
 /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
 /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
 public MdxExpression WithOperand(IMdxExpression operand)
 {
     _operands.Add(operand);
     return(this);
 }
Beispiel #5
0
 public MdxDeclaration As(MdxTuple expression)
 {
     Expression = expression;
     return(this);
 }