SqlFunctions.Square Method

 

Returns the square of the specified number.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSquare(Nullable<Decimal>)

Returns the square of the specified number.

System_CAPS_pubmethodSystem_CAPS_staticSquare(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.

Return Value

Type: System.Nullable<Double>

The square of the input value.


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.

Return Value

Type: System.Nullable<Double>

The square of the input value.