Class SqlPredicate.Exists
public sealed class SqlPredicate.Exists : SqlPredicate, ISqlPredicate, IQueryElement
- Inheritance
-
SqlPredicate.Exists
- Implements
- Inherited Members
- Extension Methods
Constructors
Exists(bool, SelectQuery)
public Exists(bool isNot, SelectQuery subQuery)
Parameters
isNotboolsubQuerySelectQuery
Properties
ElementType
AST node type.
public override QueryElementType ElementType { get; }
Property Value
IsNot
public bool IsNot { get; }
Property Value
SubQuery
public SelectQuery SubQuery { get; }
Property Value
Methods
CanBeUnknown(NullabilityContext, bool)
Returns true if predicate could be evaluated to UNKNOWN.
public override bool CanBeUnknown(NullabilityContext nullability, bool withoutUnknownErased)
Parameters
nullabilityNullabilityContextwithoutUnknownErasedbool
Returns
CanInvert(NullabilityContext)
public override bool CanInvert(NullabilityContext nullability)
Parameters
nullabilityNullabilityContext
Returns
Deconstruct(out bool, out SelectQuery)
public void Deconstruct(out bool isNot, out SelectQuery subQuery)
Parameters
isNotboolsubQuerySelectQuery
Equals(ISqlPredicate, Func<ISqlExpression, ISqlExpression, bool>)
public override bool Equals(ISqlPredicate other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
otherISqlPredicatecomparerFunc<ISqlExpression, ISqlExpression, bool>
Returns
GetElementHashCode()
public override int GetElementHashCode()
Returns
Invert(NullabilityContext)
public override ISqlPredicate Invert(NullabilityContext nullability)
Parameters
nullabilityNullabilityContext
Returns
Modify(SelectQuery)
public void Modify(SelectQuery subQuery)
Parameters
subQuerySelectQuery
WritePredicate(QueryElementTextWriter)
protected override void WritePredicate(QueryElementTextWriter writer)
Parameters
writerQueryElementTextWriter