SqlFunctions.Square SqlFunctions.Square SqlFunctions.Square SqlFunctions.Square Method

Definition

Returns the square of the specified number.

Overloads

Square(Nullable<Decimal>) Square(Nullable<Decimal>) Square(Nullable<Decimal>) Square(Nullable<Decimal>)

Returns the square of the specified number.

Square(Nullable<Double>) Square(Nullable<Double>) Square(Nullable<Double>) Square(Nullable<Double>)

Returns the square of the specified number.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SQUARE (Transact-SQL).

Square(Nullable<Decimal>) Square(Nullable<Decimal>) Square(Nullable<Decimal>) Square(Nullable<Decimal>)

Returns the square of the specified number.

public:
 static Nullable<double> Square(Nullable<System::Decimal> arg1);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SQUARE")]
public static Nullable<double> Square (Nullable<decimal> arg1);
static member Square : Nullable<decimal> -> Nullable<double>
Public Shared Function Square (arg1 As Nullable(Of Decimal)) As Nullable(Of Double)

Parameters

arg1
Nullable<Decimal>

A numeric expression.

Returns

The square of the input value.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SQUARE (Transact-SQL).

Square(Nullable<Double>) Square(Nullable<Double>) Square(Nullable<Double>) Square(Nullable<Double>)

Returns the square of the specified number.

public:
 static Nullable<double> Square(Nullable<double> arg1);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SQUARE")]
public static Nullable<double> Square (Nullable<double> arg1);
static member Square : Nullable<double> -> Nullable<double>
Public Shared Function Square (arg1 As Nullable(Of Double)) As Nullable(Of Double)

Parameters

arg1
Nullable<Double>

A numeric expression.

Returns

The square of the input value.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SQUARE (Transact-SQL).

Applies to