DbExpressionBuilder.Exists(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 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。
引數沒有集合結果型別。