C# Class BalticAmadeus.FluentMdx.MdxExpression

Represents arithmetics, logics or equality expressions used in Mdx query.
Inheritance: MdxExpressionBase, IMdxExpression
Datei anzeigen Open project: BalticAmadeus/FluentMdx Class Usage Examples

Public Methods

Method Description
AsNegated ( ) : MdxExpression

Marks the current expression as negative and returns the updated current MdxExpression.

AsNegative ( ) : MdxExpression

Marks the current expression as negative and returns the updated current MdxExpression.

MdxExpression ( ) : System

Initializes a new instance of MdxExpression.

WithOperand ( IMdxExpression operand ) : MdxExpression

Appends the IMdxExpression to the end of expression and returns the updated current MdxExpression.

WithOperation ( string operationOperator, IMdxExpression operand ) : MdxExpression

Appends the specified operator and IMdxExpression to the end of expression and returns the updated current MdxExpression.

WithOperator ( string operationOperator ) : MdxExpression

Appends the operation to the end of expression and returns the updated current MdxExpression.

Protected Methods

Method Description
GetStringExpression ( ) : string

Method Details

AsNegated() public method

Marks the current expression as negative and returns the updated current MdxExpression.
public AsNegated ( ) : MdxExpression
return MdxExpression

AsNegative() public method

Marks the current expression as negative and returns the updated current MdxExpression.
public AsNegative ( ) : MdxExpression
return MdxExpression

GetStringExpression() protected method

protected GetStringExpression ( ) : string
return string

MdxExpression() public method

Initializes a new instance of MdxExpression.
public MdxExpression ( ) : System
return System

WithOperand() public method

Appends the IMdxExpression to the end of expression and returns the updated current MdxExpression.
public WithOperand ( IMdxExpression operand ) : MdxExpression
operand IMdxExpression Appended .
return MdxExpression

WithOperation() public method

Appends the specified operator and IMdxExpression to the end of expression and returns the updated current MdxExpression.
public WithOperation ( string operationOperator, IMdxExpression operand ) : MdxExpression
operationOperator string Appended operation operator.
operand IMdxExpression Appended .
return MdxExpression

WithOperator() public method

Appends the operation to the end of expression and returns the updated current MdxExpression.
public WithOperator ( string operationOperator ) : MdxExpression
operationOperator string Appended operation operator.
return MdxExpression