DbExpressionBuilder.Not(DbExpression) 方法

定義

創造一個 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 沒有布林結果型別。

適用於