public ISqlExpressionBuilder JoinRight(ColumnExpression actual, ColumnExpression expected,
                                        CompareOperations compare, IEnumerable <string> columns)
 {
     Join(SqlJoinTypes.Right, new Compare <ColumnExpression, ColumnExpression>(compare, actual, expected),
          columns);
     return(this);
 }
 public ISqlExpressionBuilder Where(ColumnExpression col, Expression expression, CompareOperations compare)
 {
     Where(new Compare <ColumnExpression, Expression>(compare, col, expression));
     return(this);
 }
 public ISqlExpressionBuilder Where(ColumnExpression col, string value, CompareOperations compare)
 {
     Where(new Compare <ColumnExpression, string>(compare, col, value));
     return(this);
 }
 public ISqlExpressionBuilder Where(ColumnExpression col, IDbDataParameter param, CompareOperations compare)
 {
     Where(new Compare <ColumnExpression, IDbDataParameter>(compare, col, param));
     return(this);
 }
 public ISqlExpressionBuilder JoinRight(ColumnExpression actual, ColumnExpression expected,
                                        CompareOperations compare)
 {
     JoinRight(actual, expected, compare, null);
     return(this);
 }
 /// <summary>
 /// contructor for compare operation from enum
 /// </summary>
 /// <param name="operation"></param>
 /// <param name="actual"></param>
 /// <param name="expected"></param>
 public Compare(CompareOperations operation, TActual actual, TExpected expected)
 {
     CompareTemplate = CompareTemplates[operation];
     Expected        = expected;
     Actual          = actual;
 }