DbExpressionBuilder.Exists(DbExpression) 方法

定义

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExpression ^ Exists(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbExpression Exists(this System.Data.Common.CommandTrees.DbExpression argument);
static member Exists : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExpression
<Extension()>
Public Function Exists (argument As DbExpression) As DbExpression

参数

argument
DbExpression

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

返回

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

例外

argument 为 null。

argument 没有集合结果类型。

适用于