Expr LessThan(Object o) { if (o is Expr) { return new BinaryExpression(this, "<", o)..fieldType = dbType.Bool; } return LessThan(ValueExpr(o, dbType.Double)); }