Class SqlSearchCondition
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
SqlConditioncondition2
SqlCondition
SqlSearchCondition(IEnumerable<SqlCondition>)
public SqlSearchCondition(IEnumerable<SqlCondition> list)
Parameters
list
IEnumerable<SqlCondition>
Properties
CanBeNull
public bool CanBeNull { get; }
Property Value
Conditions
public List<SqlCondition> Conditions { get; }
Property Value
ElementType
public QueryElementType ElementType { get; }
Property Value
Precedence
public int Precedence { get; }
Property Value
Search
protected override SqlSearchCondition Search { get; }
Property Value
SystemType
public Type SystemType { get; }
Property Value
Methods
Add(SqlCondition)
public SqlSearchCondition Add(SqlCondition condition)
Parameters
condition
SqlCondition
Returns
CanInvert()
public bool CanInvert()
Returns
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
ISqlExpressioncomparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
Equals(ISqlPredicate, Func<ISqlExpression, ISqlExpression, bool>)
public bool Equals(ISqlPredicate other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
other
ISqlPredicatecomparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
GetNext()
protected override SqlSearchCondition.Next GetNext()
Returns
Invert()
public IQueryElement Invert()