public SQCondition(IWriteSQL operandA, SQRelationOperators op, IWriteSQL operandB, bool invertLogic) { OperandA = operandA; Operator = op; OperandB = operandB; InvertMeaning = invertLogic; }
public virtual string Write(IWriteSQL sqObject) { return(sqObject.Write(this)); }
/// <summary> /// Append an "or" condition. Pass the settings for a SQCondition /// </summary> /// <param name="operandA"></param> /// <param name="op"></param> /// <param name="operandB"></param> /// <returns>The current condition</returns> public SQConditionBase Or(IWriteSQL operandA, SQRelationOperators op, IWriteSQL operandB, bool invert) { return(Or(new SQCondition(operandA, op, operandB, invert))); }
/// <summary> /// Append an "or" condition. Pass the settings for a SQCondition /// </summary> /// <param name="operandA"></param> /// <param name="op"></param> /// <param name="operandB"></param> /// <returns>The current condition</returns> public SQConditionBase Or(IWriteSQL operandA, SQRelationOperators op, IWriteSQL operandB) { return(Or(new SQCondition(operandA, op, operandB, false))); }
public SQCondition(IWriteSQL operandA, SQRelationOperators op, IWriteSQL operandB) : this(operandA, op, operandB, false) { }
public SQAliasableObject(IWriteSQL actualObject, string alias) : this(actualObject) { Alias = alias; }
public SQAliasableObject(IWriteSQL actualObject) : this() { Actual = actualObject; }