コード例 #1
0
 public SQCondition(IWriteSQL operandA, SQRelationOperators op, IWriteSQL operandB, bool invertLogic)
 {
     OperandA      = operandA;
     Operator      = op;
     OperandB      = operandB;
     InvertMeaning = invertLogic;
 }
コード例 #2
0
 public virtual string Write(IWriteSQL sqObject)
 {
     return(sqObject.Write(this));
 }
コード例 #3
0
 /// <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)));
 }
コード例 #4
0
 /// <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)));
 }
コード例 #5
0
 public SQCondition(IWriteSQL operandA, SQRelationOperators op, IWriteSQL operandB)
     : this(operandA, op, operandB, false)
 {
 }
コード例 #6
0
 public SQAliasableObject(IWriteSQL actualObject, string alias)
     : this(actualObject)
 {
     Alias = alias;
 }
コード例 #7
0
 public SQAliasableObject(IWriteSQL actualObject)
     : this()
 {
     Actual = actualObject;
 }