Table of Contents

Class WhereExpressionVisitor

Namespace
NextORM.Core
Assembly
nextorm.core.dll

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

options VisitorOptions

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

bool

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

node BinaryExpression

Returns

Expression