Edit

Share via


EdmFunctions.Ceiling(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of 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

Parameters

value
DbExpression

An expression that specifies the numeric value.

Returns

A new DbFunctionExpression that returns the smallest integer value not less than value.

Exceptions

value is null.

value is invalid.

Applies to