Share via


DbExpressionBuilder.Not(DbExpression) 方法

定义

创建一个 DbNotExpression,它对给定的参数执行逻辑非运算。

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

参数

argument
DbExpression

一个指定参数的布尔表达式。

返回

使用指定参数的新 DbNotExpression。

例外

argument 为 null。

argument 没有布尔结果类型。

适用于