Class SqlPredicate.InList
public class SqlPredicate.InList : SqlPredicate.BaseNotExpr, ISqlPredicate, IQueryElement, ISqlExpressionWalkable, IInvertibleElement
- Inheritance
-
SqlPredicate.InList
- Implements
- Inherited Members
- Extension Methods
Constructors
InList(ISqlExpression, bool?, bool)
public InList(ISqlExpression exp1, bool? withNull, bool isNot)
Parameters
exp1
ISqlExpressionwithNull
bool?isNot
bool
InList(ISqlExpression, bool?, bool, ISqlExpression)
public InList(ISqlExpression exp1, bool? withNull, bool isNot, ISqlExpression value)
Parameters
exp1
ISqlExpressionwithNull
bool?isNot
boolvalue
ISqlExpression
InList(ISqlExpression, bool?, bool, IEnumerable<ISqlExpression>?)
public InList(ISqlExpression exp1, bool? withNull, bool isNot, IEnumerable<ISqlExpression>? values)
Parameters
exp1
ISqlExpressionwithNull
bool?isNot
boolvalues
IEnumerable<ISqlExpression>
Properties
ElementType
public override QueryElementType ElementType { get; }
Property Value
Values
public List<ISqlExpression> Values { get; }
Property Value
WithNull
public bool? WithNull { get; }
Property Value
- bool?
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