Table of Contents

Class SqlPredicate.ExprExpr

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
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 ISqlExpression
op SqlPredicate.Operator
exp2 ISqlExpression
withNull bool?

Properties

CanBeNull

public override bool CanBeNull { get; }

Property Value

bool

ElementType

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Expr2

public ISqlExpression Expr2 { get; }

Property Value

ISqlExpression

Operator

public SqlPredicate.Operator Operator { get; }

Property Value

SqlPredicate.Operator

WithNull

public bool? WithNull { get; }

Property Value

bool?

Methods

CanInvert()

public bool CanInvert()

Returns

bool

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 ISqlExpression
operator SqlPredicate.Operator
expr2 ISqlExpression
withNull bool?

Equals(ISqlPredicate, Func<ISqlExpression, ISqlExpression, bool>)

public override bool Equals(ISqlPredicate other, Func<ISqlExpression, ISqlExpression, bool> comparer)

Parameters

other ISqlPredicate
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

Invert()

public IQueryElement Invert()

Returns

IQueryElement

Reduce(EvaluationContext)

public ISqlPredicate Reduce(EvaluationContext context)

Parameters

context EvaluationContext

Returns

ISqlPredicate

ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)

protected override void ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)

Parameters

sb StringBuilder
dic Dictionary<IQueryElement, IQueryElement>

Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)

protected override void Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)

Parameters

options WalkOptions
context TContext
func Func<TContext, ISqlExpression, ISqlExpression>

Type Parameters

TContext