public static LogicalBinaryExpression GreaterThan(SqlExpression left, SqlExpression right)
 {
     return(LogicalBinaryExpression.Expression(ExpressionType.GreaterThan, left, right));
 }
 public static LogicalBinaryExpression IsNotNull(SqlExpression left)
 {
     return(LogicalBinaryExpression.Expression(ExpressionType.IsNot, left, DbNullExpression.Instance));
 }
 public static LogicalBinaryExpression IsNotNull(string fieldName)
 {
     return(IsNotNull(SqlExpression.Field(fieldName)));
 }
 public static LogicalBinaryExpression AndAlso(SqlExpression left, SqlExpression right)
 {
     return(LogicalBinaryExpression.Expression(ExpressionType.AndAlso, left, right));
 }
 public static LogicalBinaryExpression OrElse(SqlExpression left, SqlExpression right)
 {
     return(LogicalBinaryExpression.Expression(ExpressionType.OrElse, left, right));
 }
 public static SimpleBinaryExpression Subtract(SqlExpression left, SqlExpression right)
 {
     return(SimpleBinaryExpression.Expression(ExpressionType.Subtract, left, right));
 }
 public static SimpleBinaryExpression Multiply(SqlExpression left, SqlExpression right)
 {
     return(SimpleBinaryExpression.Expression(ExpressionType.Multiply, left, right));
 }
 public static SimpleBinaryExpression Modulo(SqlExpression left, SqlExpression right)
 {
     return(SimpleBinaryExpression.Expression(ExpressionType.Modulo, left, right));
 }
 public static SimpleBinaryExpression Divide(SqlExpression left, SqlExpression right)
 {
     return(SimpleBinaryExpression.Expression(ExpressionType.Divide, left, right));
 }
 public static SimpleBinaryExpression Add(SqlExpression left, SqlExpression right)
 {
     return(SimpleBinaryExpression.Expression(ExpressionType.Add, left, right));
 }