DbExpressionBuilder.Not(DbExpression) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbNotExpression ^ Not(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbNotExpression Not (this System.Data.Common.CommandTrees.DbExpression argument);
static member Not : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbNotExpression
<Extension()>
Public Function Not (argument As DbExpression) As DbNotExpression

Parameters

argument
DbExpression

A Boolean expression that specifies the argument.

Returns

DbNotExpression

A new DbNotExpression with the specified argument.

Exceptions

argument is null.

argument does not have a Boolean result type.

Applies to