Table of Contents

Class SqlPredicate.Expr

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
public class SqlPredicate.Expr : SqlPredicate, ISqlPredicate, IQueryElement, ISqlExpressionWalkable
Inheritance
SqlPredicate.Expr
Implements
Derived
Inherited Members
Extension Methods

Constructors

Expr(ISqlExpression)

public Expr(ISqlExpression exp1)

Parameters

exp1 ISqlExpression

Expr(ISqlExpression, int)

public Expr(ISqlExpression exp1, int precedence)

Parameters

exp1 ISqlExpression
precedence int

Properties

CanBeNull

public override bool CanBeNull { get; }

Property Value

bool

ElementType

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Expr1

public ISqlExpression Expr1 { get; set; }

Property Value

ISqlExpression

Methods

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

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