다음을 통해 공유


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