DbExpressionBuilder.UnaryMinus(DbExpression) メソッド

定義

引数の値を否定する新しい DbArithmeticExpression を作成します。

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression UnaryMinus (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member UnaryMinus : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function UnaryMinus (argument As DbExpression) As DbArithmeticExpression

パラメーター

argument
DbExpression

引数を指定する式。

戻り値

否定演算を表す新しい DbArithmeticExpression。

例外

引数が null です。

引数に数値の結果の型が存在しません。

適用対象