SqlFunctions.Square Method
Returns the square of the specified number.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() ![]() | Square(Nullable<Decimal>) | Returns the square of the specified number. |
![]() ![]() | Square(Nullable<Double>) | Returns the square of the specified number. |
SqlFunctions.Square Method (Nullable<Decimal>)
Returns the square of the specified number.
[DbFunctionAttribute("SqlServer", "SQUARE")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg1")] public static Nullable<double> Square( Nullable<decimal> arg1 )
Parameters
- arg1
-
Type:
System.Nullable<Decimal>
A numeric expression.
SqlFunctions.Square Method (Nullable<Double>)
Returns the square of the specified number.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg1")] [DbFunctionAttribute("SqlServer", "SQUARE")] public static Nullable<double> Square( Nullable<double> arg1 )
Parameters
- arg1
-
Type:
System.Nullable<Double>
A numeric expression.