DbExpressionBuilder.Exists(DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新 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 没有集合结果类型。