Class SqlPredicate.Like
public class SqlPredicate.Like : SqlPredicate.BaseNotExpr, ISqlPredicate, IQueryElement, ISqlExpressionWalkable, IInvertibleElement
- Inheritance
-
SqlPredicate.Like
- Implements
- Inherited Members
- Extension Methods
Constructors
Like(ISqlExpression, bool, ISqlExpression, ISqlExpression?, string?)
public Like(ISqlExpression exp1, bool isNot, ISqlExpression exp2, ISqlExpression? escape, string? functionName = null)
Parameters
exp1
ISqlExpressionisNot
boolexp2
ISqlExpressionescape
ISqlExpressionfunctionName
string
Properties
ElementType
public override QueryElementType ElementType { get; }
Property Value
Escape
public ISqlExpression? Escape { get; }
Property Value
Expr2
public ISqlExpression Expr2 { get; }
Property Value
FunctionName
public string? FunctionName { get; }
Property Value
Methods
Equals(ISqlPredicate, Func<ISqlExpression, ISqlExpression, bool>)
public override bool Equals(ISqlPredicate other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
other
ISqlPredicatecomparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
Invert()
public override IQueryElement Invert()
Returns
ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)
protected override void ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)
Parameters
Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)
protected override void Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)
Parameters
options
WalkOptionscontext
TContextfunc
Func<TContext, ISqlExpression, ISqlExpression>
Type Parameters
TContext