/// <summary> /// Constructs a new condition that can be used in a where-clause. /// </summary> /// <param name="p_column_name">The column the new condition should check (fe "id").</param> /// <param name="p_operation">The operation the new condition should perform (fe "=" or "<").</param> /// <param name="p_expected_value">The value the new condition should check against (fe 5, "test", othercolumn).</param> /// <param name="p_nested_condition">The condition that this condition should be chained with, or null.</param> /// <param name="boolean_operator">The operator that this condition should use to chain with the given nested condition.</param> internal CWhereCondition(String p_column_name, String p_operation, Object p_expected_value, CWhereCondition p_nested_condition, EBooleanOperator boolean_operator) { m_p_column_name = p_column_name; m_p_operation = p_operation; m_p_expected_value = p_expected_value; m_p_nested_condition = p_nested_condition; m_boolean_operator = boolean_operator; }
private void AddExpression(Expression <BooleanExpression <T> > filter, EBooleanOperator op) { this.FilterExpression.Add( new ExpressionAggregator() { Expression = filter, Operator = op, ExpressionBoundClauses = CeqlUtils.GetStatementList(this.FromClause) } ); }