Class WhereExpressionVisitor
Translates a predicate expression into a SQL WHERE clause.
public class WhereExpressionVisitor : BaseExpressionVisitor, ICloneable, IDisposable
- Inheritance
-
WhereExpressionVisitor
- Implements
- Inherited Members
- Extension Methods
Constructors
WhereExpressionVisitor(VisitorOptions)
Translates a predicate expression into a SQL WHERE clause.
public WhereExpressionVisitor(VisitorOptions options)
Parameters
optionsVisitorOptions
Properties
AsPredicate
A where clause is a condition context: providers whose dialect cannot use a boolean value as a predicate (SQL Server) have to render the expression differently.
protected override bool AsPredicate { get; }
Property Value
Methods
VisitBinary(BinaryExpression)
Renders an equality or inequality comparison, using the null-aware is/is not form
when either side is a null literal and =/!= otherwise.
protected override Expression VisitBinary(BinaryExpression node)
Parameters
nodeBinaryExpression