ExpressionBool extension

Extension methods for bool expressions.

on

Methods

and(Expr<bool> other) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Logical AND.
asInt() Expr<int>

Available on Expr<bool>, provided by the ExpressionBool extension

Cast as integer.
equals(Expr<bool?> value) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Compare this expression to value using = in SQL coalesced to FALSE.
equalsValue(bool? value) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Compare this expression to value using = in SQL coalesced to FALSE.
not() Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Negate this expression.
notEquals(Expr<bool?> value) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Compare this expression to value using <> in SQL.
notEqualsValue(bool? value) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Compare this expression to value using <> in SQL.
or(Expr<bool> other) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Logical OR.

Operators

operator &(Expr<bool> other) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Logical AND.
operator |(Expr<bool> other) Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Logical OR.
operator ~() Expr<bool>

Available on Expr<bool>, provided by the ExpressionBool extension

Negate this expression.