DbExpressionBuilder.Negate(DbExpression) Método

Definição

Cria um novo DbArithmeticExpression que nega o valor do argumento.

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

Parâmetros

argument
DbExpression

Uma expressão que especifica o argumento.

Retornos

Um novo DbArithmeticExpression que representa a operação de negação.

Exceções

argument é nulo.

Nenhum tipo de resultado numérico existe para argument.

Aplica-se a