Share via


SqlNullabilityProcessor.VisitColumn Method

Definition

Visits a ColumnExpression and computes its nullability.

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

Parameters

columnExpression
ColumnExpression

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