EdmFunctions.Round メソッド

定義

オーバーロード

Round(DbExpression)

指定された引数で正規の 'Round' 関数を呼び出す DbFunctionExpression を作成します。指定する各引数の結果型は、single、double、decimal のいずれかである必要があります。 式の結果の型は、値の結果の型と同じです。

Round(DbExpression, DbExpression)

指定された引数で正規の 'Round' 関数を呼び出す DbFunctionExpression を作成します。指定する各引数の結果型は、single、double、decimal のいずれかと整数である必要があります。 式の結果の型は、値の結果の型と同じです。

Round(DbExpression)

指定された引数で正規の 'Round' 関数を呼び出す DbFunctionExpression を作成します。指定する各引数の結果型は、single、double、decimal のいずれかである必要があります。 式の結果の型は、値の結果の型と同じです。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Round (this System.Data.Entity.Core.Common.CommandTrees.DbExpression value);
static member Round : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Round (value As DbExpression) As DbFunctionExpression

パラメーター

value
DbExpression

丸め処理の対象の数値を指定する式。

戻り値

指定された引数を最も近い整数値に丸める新しい DbFunctionExpression。

適用対象

Round(DbExpression, DbExpression)

指定された引数で正規の 'Round' 関数を呼び出す DbFunctionExpression を作成します。指定する各引数の結果型は、single、double、decimal のいずれかと整数である必要があります。 式の結果の型は、値の結果の型と同じです。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Round (this System.Data.Entity.Core.Common.CommandTrees.DbExpression value, System.Data.Entity.Core.Common.CommandTrees.DbExpression digits);
static member Round : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Round (value As DbExpression, digits As DbExpression) As DbFunctionExpression

パラメーター

value
DbExpression

丸め処理の対象の数値を指定する式。

digits
DbExpression

丸め処理に使用する有効桁数を指定する式。

戻り値

指定した引数を、桁数で指定された有効桁数で、最も近い整数値に丸める新しい DbFunctionExpression。

適用対象