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 の結果型がブール型ではありません。

適用対象