SqlNullabilityProcessor.VisitCustomSqlExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for