SqlNullabilityProcessor.VisitJsonScalar 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 JsonScalarExpression and computes its nullability.
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression VisitJsonScalar (Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression jsonScalarExpression, bool allowOptimizedExpansion, out bool nullable);
abstract member VisitJsonScalar : Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.VisitJsonScalar : Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function VisitJsonScalar (jsonScalarExpression As JsonScalarExpression, allowOptimizedExpansion As Boolean, ByRef nullable As Boolean) As SqlExpression
Parameters
- jsonScalarExpression
- JsonScalarExpression
A json scalar 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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för