Compartir a través de


SqlNullabilityProcessor.OptimizeNotExpression(SqlExpression) Method

Definition

Attempts to simplify a unary not operation.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression OptimizeNotExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression expression);
abstract member OptimizeNotExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.OptimizeNotExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function OptimizeNotExpression (expression As SqlExpression) As SqlExpression

Parameters

expression
SqlExpression

The expression to simplify.

Returns

The simplified expression, or the original expression if it cannot be simplified.

Applies to