SqlNullabilityProcessor.OptimizeNonNullableNotExpression 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.
Attempts to simplify a unary not operation on a non-nullable operand.
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression OptimizeNonNullableNotExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression sqlUnaryExpression);
abstract member OptimizeNonNullableNotExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.OptimizeNonNullableNotExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function OptimizeNonNullableNotExpression (sqlUnaryExpression As SqlUnaryExpression) As SqlExpression
Parameters
- sqlUnaryExpression
- SqlUnaryExpression
The expression to simplify.
Returns
The simplified expression, or the original expression if it cannot be simplified.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework