Share via


SqlNullabilityProcessor.VisitExists Method

Definition

Visits an ExistsExpression and computes its nullability.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression VisitExists (Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression existsExpression, bool allowOptimizedExpansion, out bool nullable);
abstract member VisitExists : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.VisitExists : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function VisitExists (existsExpression As ExistsExpression, allowOptimizedExpansion As Boolean, ByRef nullable As Boolean) As SqlExpression

Parameters

existsExpression
ExistsExpression

An exists expression to visit.

allowOptimizedExpansion
Boolean

A bool value indicating if optimized expansion which considers null value as false value is allowed.

nullable
Boolean

A bool value indicating whether the sql expression is nullable.

Returns

An optimized sql expression.

Applies to