Share via


SqlNullabilityProcessor.VisitSqlFunction Method

Definition

Visits a SqlFunctionExpression and computes its nullability.

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

Parameters

sqlFunctionExpression
SqlFunctionExpression

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