Table of Contents

Class SqlPredicate.InSubQuery

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

Constructors

InSubQuery(ISqlExpression, bool, SelectQuery)

public InSubQuery(ISqlExpression exp1, bool isNot, SelectQuery subQuery)

Parameters

exp1 ISqlExpression
isNot bool
subQuery SelectQuery

Properties

ElementType

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

SubQuery

public SelectQuery SubQuery { get; }

Property Value

SelectQuery

Methods

Deconstruct(out ISqlExpression, out bool, out SelectQuery)

public void Deconstruct(out ISqlExpression exp1, out bool isNot, out SelectQuery subQuery)

Parameters

exp1 ISqlExpression
isNot bool
subQuery SelectQuery

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 override IQueryElement Invert()

Returns

IQueryElement

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