Table of Contents

Class SqlSearchCondition

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
public class SqlSearchCondition : ConditionBase<SqlSearchCondition, SqlSearchCondition.Next>, ISqlPredicate, ISqlExpression, IQueryElement, IEquatable<ISqlExpression>, ISqlExpressionWalkable, IInvertibleElement
Inheritance
SqlSearchCondition
Implements
Inherited Members
Extension Methods

Constructors

SqlSearchCondition()

public SqlSearchCondition()

SqlSearchCondition(SqlCondition)

public SqlSearchCondition(SqlCondition condition)

Parameters

condition SqlCondition

SqlSearchCondition(SqlCondition, SqlCondition)

public SqlSearchCondition(SqlCondition condition1, SqlCondition condition2)

Parameters

condition1 SqlCondition
condition2 SqlCondition

SqlSearchCondition(IEnumerable<SqlCondition>)

public SqlSearchCondition(IEnumerable<SqlCondition> list)

Parameters

list IEnumerable<SqlCondition>

Properties

CanBeNull

public bool CanBeNull { get; }

Property Value

bool

Conditions

public List<SqlCondition> Conditions { get; }

Property Value

List<SqlCondition>

ElementType

public QueryElementType ElementType { get; }

Property Value

QueryElementType

Precedence

public int Precedence { get; }

Property Value

int
protected override SqlSearchCondition Search { get; }

Property Value

SqlSearchCondition

SystemType

public Type SystemType { get; }

Property Value

Type

Methods

Add(SqlCondition)

public SqlSearchCondition Add(SqlCondition condition)

Parameters

condition SqlCondition

Returns

SqlSearchCondition

CanInvert()

public bool CanInvert()

Returns

bool

Deconstruct(out List<SqlCondition>)

public void Deconstruct(out List<SqlCondition> conditions)

Parameters

conditions List<SqlCondition>

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

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

Parameters

other ISqlExpression
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

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

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

Parameters

other ISqlPredicate
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

GetNext()

protected override SqlSearchCondition.Next GetNext()

Returns

SqlSearchCondition.Next

Invert()

public IQueryElement Invert()

Returns

IQueryElement