Table of Contents

Class SqlPredicate

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

Constructors

SqlPredicate(int)

protected SqlPredicate(int precedence)

Parameters

precedence int

Properties

CanBeNull

public abstract bool CanBeNull { get; }

Property Value

bool

ElementType

public abstract QueryElementType ElementType { get; }

Property Value

QueryElementType

Precedence

public int Precedence { get; }

Property Value

int

Methods

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

public abstract 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 abstract void ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)

Parameters

sb StringBuilder
dic Dictionary<IQueryElement, IQueryElement>

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

protected abstract 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