SqlNullabilityProcessor.VisitSqlUnary 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 SqlUnaryExpression and computes its nullability.
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression VisitSqlUnary (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression sqlUnaryExpression, bool allowOptimizedExpansion, out bool nullable);
abstract member VisitSqlUnary : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.VisitSqlUnary : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function VisitSqlUnary (sqlUnaryExpression As SqlUnaryExpression, allowOptimizedExpansion As Boolean, ByRef nullable As Boolean) As SqlExpression
Parameters
- sqlUnaryExpression
- SqlUnaryExpression
A sql unary 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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework