语言

DbExpressionBuilder.Exists(DbExpression) 方法

定义

创建一个新 DbExpression 值,用于确定指定的 set 参数是否为非空。

public static System.Data.Entity.Core.Common.CommandTrees.DbExpression Exists(this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Exists : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
<Extension()>
Public Function Exists (argument As DbExpression) As DbExpression

参数

argument
DbExpression

一个指定输入集的表达式。

返回

DbNotExpression应用于具有指定参数的新DbIsEmptyExpression的新项。

例外

参数为 null。

参数没有集合结果类型。

适用于