Class SqlPredicate.ExprExpr
public class SqlPredicate.ExprExpr : SqlPredicate.Expr, ISqlPredicate, IQueryElement, ISqlExpressionWalkable, IInvertibleElement
- Inheritance
-
SqlPredicate.ExprExpr
- Implements
- Inherited Members
- Extension Methods
Constructors
ExprExpr(ISqlExpression, Operator, ISqlExpression, bool?)
public ExprExpr(ISqlExpression exp1, SqlPredicate.Operator op, ISqlExpression exp2, bool? withNull)
Parameters
exp1
ISqlExpressionop
SqlPredicate.Operatorexp2
ISqlExpressionwithNull
bool?
Properties
CanBeNull
public override bool CanBeNull { get; }
Property Value
ElementType
public override QueryElementType ElementType { get; }
Property Value
Expr2
public ISqlExpression Expr2 { get; }
Property Value
Operator
public SqlPredicate.Operator Operator { get; }
Property Value
WithNull
public bool? WithNull { get; }
Property Value
- bool?
Methods
CanInvert()
public bool CanInvert()
Returns
Deconstruct(out ISqlExpression, out Operator, out ISqlExpression, out bool?)
public void Deconstruct(out ISqlExpression expr1, out SqlPredicate.Operator @operator, out ISqlExpression expr2, out bool? withNull)
Parameters
expr1
ISqlExpressionoperator
SqlPredicate.Operatorexpr2
ISqlExpressionwithNull
bool?
Equals(ISqlPredicate, Func<ISqlExpression, ISqlExpression, bool>)
public override bool Equals(ISqlPredicate other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
other
ISqlPredicatecomparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
Invert()
public IQueryElement Invert()
Returns
Reduce(EvaluationContext)
public ISqlPredicate Reduce(EvaluationContext context)
Parameters
context
EvaluationContext
Returns
ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)
protected override void ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)
Parameters
Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)
protected override void Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)
Parameters
options
WalkOptionscontext
TContextfunc
Func<TContext, ISqlExpression, ISqlExpression>
Type Parameters
TContext