Share via


SqlNullabilityProcessor.VisitCustomSqlExpression Method

Definition

Visits a custom SqlExpression added by providers and computes its nullability.

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

Parameters

sqlExpression
SqlExpression

A sql 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