EdmFunctions.Ceiling(DbExpression) 方法

定義

建立 DbFunctionExpression 一個,喚起標準的「天花板」函數,並指定參數,每個函數必須有單一、雙或十進位的結果類型。 該表達式的結果型態與 的 value結果型別相同。

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

參數

value
DbExpression

一個指定數值的表達式。

傳回

一個新的 DbFunctionExpression,回傳最小的整數值,且不得小於 value

例外狀況

value 為 null。

value 無效。

適用於