Table of Contents

Class SqlPredicate.SearchString

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

Constructors

SearchString(ISqlExpression, bool, ISqlExpression, SearchKind, ISqlExpression)

public SearchString(ISqlExpression exp1, bool isNot, ISqlExpression exp2, SqlPredicate.SearchString.SearchKind searchKind, ISqlExpression caseSensitive)

Parameters

exp1 ISqlExpression
isNot bool
exp2 ISqlExpression
searchKind SqlPredicate.SearchString.SearchKind
caseSensitive ISqlExpression

Properties

CaseSensitive

public ISqlExpression CaseSensitive { get; }

Property Value

ISqlExpression

ElementType

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Expr2

public ISqlExpression Expr2 { get; }

Property Value

ISqlExpression

Kind

public SqlPredicate.SearchString.SearchKind Kind { get; }

Property Value

SqlPredicate.SearchString.SearchKind

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

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