DbExpressionBuilder.IsEmpty(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新 DbIsEmptyExpression 集合,用以判斷指定的集合參數是否為空集合。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbIsEmptyExpression ^ IsEmpty(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbIsEmptyExpression IsEmpty(this System.Data.Common.CommandTrees.DbExpression argument);
static member IsEmpty : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbIsEmptyExpression
<Extension()>
Public Function IsEmpty (argument As DbExpression) As DbIsEmptyExpression
參數
- argument
- DbExpression
一個指定輸入集合的表達式。
傳回
一個新的 DbIsEmptyExpression,並附上指定的參數。
例外狀況
argument 為 null。
argument 沒有集合結果類型。