DbExpressionBuilder.Exists(DbExpression) 方法

定义

创建一个新的 DbExpression,它确定指定的集参数是否非空。

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。

参数没有集合结果类型。

适用于