共用方式為


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。

引數沒有集合結果型別。

適用於