DbExpressionBuilder.Not(DbExpression) 方法

定义

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

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

参数

argument
DbExpression

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

返回

使用指定参数的新 DbNotExpression。

例外

参数为 null。

参数没有布尔结果类型。

适用于