Share via


SqlNullabilityProcessor.VisitCollate Method

Definition

Visits a CollateExpression and computes its nullability.

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

Parameters

collateExpression
CollateExpression

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