Udostępnij za pośrednictwem


DbExpressionBuilder.Not(DbExpression) Metoda

Definicja

Tworzy obiekt DbNotExpression , który wykonuje logiczne negację danego argumentu.

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

Parametry

argument
DbExpression

Wyrażenie logiczne określające argument.

Zwraca

Nowy dbNotExpression z określonym argumentem.

Wyjątki

argument ma wartość null.

argument nie ma typu wyniku logicznego.

Dotyczy