DbExpressionBuilder.Negate(DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbArithmeticExpression che nega il valore dell'argomento.

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

Parametri

argument
DbExpression

Espressione che specifica l'argomento.

Restituisce

DbArithmeticExpression

Nuovo DbArithmeticExpression che rappresenta l'operazione di negazione.

Eccezioni

argument è null.

Non esiste alcun tipo di risultato numerico per argument.

Si applica a