语言

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。

参数没有布尔结果类型。

适用于