Class SqlPredicate.IsTrue
public class SqlPredicate.IsTrue : SqlPredicate.BaseNotExpr, ISqlPredicate, IQueryElement, ISqlExpressionWalkable, IInvertibleElement
- Inheritance
-
SqlPredicate.IsTrue
- Implements
- Inherited Members
- Extension Methods
Constructors
IsTrue(ISqlExpression, ISqlExpression, ISqlExpression, bool?, bool, bool)
public IsTrue(ISqlExpression exp1, ISqlExpression trueValue, ISqlExpression falseValue, bool? withNull, bool isNot, bool optimizeNull)
Parameters
exp1ISqlExpressiontrueValueISqlExpressionfalseValueISqlExpressionwithNullbool?isNotbooloptimizeNullbool
Properties
ElementType
public override QueryElementType ElementType { get; }
Property Value
FalseValue
public ISqlExpression FalseValue { get; set; }
Property Value
OptimizeNull
public bool OptimizeNull { get; set; }
Property Value
TrueValue
public ISqlExpression TrueValue { get; set; }
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
otherISqlPredicatecomparerFunc<ISqlExpression, ISqlExpression, bool>
Returns
Invert()
public override IQueryElement Invert()
Returns
Reduce()
public ISqlPredicate Reduce()
Returns
ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)
protected override void ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)