DbExpressionBuilder.Not(DbExpression) Méthode

Définition

Crée un objet DbNotExpression qui effectue la négation logique de l'argument spécifié.

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

Paramètres

argument
DbExpression

Expression booléenne qui spécifie l'argument.

Retours

Nouvelle DbNotExpression de l'argument spécifié.

Exceptions

argument a la valeur null.

argument n’a pas un type de résultat booléen.

S’applique à