DbExpressionBuilder.Not(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
創造一個 DbNotExpression 執行給定論證邏輯否定的 。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbNotExpression ^ Not(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbNotExpression Not(this System.Data.Common.CommandTrees.DbExpression argument);
static member Not : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbNotExpression
<Extension()>
Public Function Not (argument As DbExpression) As DbNotExpression
參數
- argument
- DbExpression
一個用來指定參數的布林運算式。
傳回
一個新的 DbNotExpression,並帶有指定的參數。
例外狀況
argument 為 null。
argument 沒有布林結果型別。