Share via


DbExpressionBuilder.Not(DbExpression) Method

Definition

Creates a DbNotExpression that performs the logical negation of the given argument.

public static System.Data.Entity.Core.Common.CommandTrees.DbNotExpression Not (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Not : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbNotExpression
<Extension()>
Public Function Not (argument As DbExpression) As DbNotExpression

Parameters

argument
DbExpression

A Boolean expression that specifies the argument.

Returns

A new DbNotExpression with the specified argument.

Exceptions

argument is null.

argument does not have a Boolean result type.

Applies to