Share via


DbExpressionBuilder.Not(DbExpression) Methode

Definition

Erstellt eine DbNotExpression, die die logische Negation des angegebenen Arguments ausführt.

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

Parameter

argument
DbExpression

Ein boolescher Ausdruck, der das Argument angibt.

Gibt zurück

Ein neues DbNotExpression mit dem angegebenen Argument.

Ausnahmen

argument ist NULL.

argument weist keinen booleschen Ergebnistyp auf.

Gilt für: