DbExpressionBuilder.Negate(DbExpression) Metoda

Definice

Vytvoří novou DbArithmeticExpression , která neguje hodnotu argumentu.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Negate(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Negate(this System.Data.Common.CommandTrees.DbExpression argument);
static member Negate : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Negate (argument As DbExpression) As DbArithmeticExpression

Parametry

argument
DbExpression

Výraz, který určuje argument.

Návraty

Nový DbArithmeticExpression představující operaci negace.

Výjimky

argument je null.

Neexistuje žádný číselný typ výsledku pro argument.

Platí pro