SqlFunctions.Degrees Method

Definition

Returns the corresponding angle in degrees for an angle specified in radians.

Overloads

Degrees(Nullable<Int64>)

Returns the corresponding angle in degrees for an angle specified in radians.

Degrees(Nullable<Int32>)

Returns the corresponding angle in degrees for an angle specified in radians.

Degrees(Nullable<Double>)

Returns the corresponding angle in degrees for an angle specified in radians.

Degrees(Nullable<Decimal>)

Returns the corresponding angle in degrees for an angle specified in radians.

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 DEGREES (Transact-SQL).

Degrees(Nullable<Int64>)

Returns the corresponding angle in degrees for an angle specified in radians.

public:
 static Nullable<long> Degrees(Nullable<long> arg1);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "DEGREES")]
public static long? Degrees (long? arg1);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "DEGREES")>]
static member Degrees : Nullable<int64> -> Nullable<int64>
Public Shared Function Degrees (arg1 As Nullable(Of Long)) As Nullable(Of Long)

Parameters

arg1
Nullable<Int64>

An angle, measured in radians.

Returns

The specified angle converted to degrees.

Attributes

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 DEGREES (Transact-SQL).

Applies to

Degrees(Nullable<Int32>)

Returns the corresponding angle in degrees for an angle specified in radians.

public:
 static Nullable<int> Degrees(Nullable<int> arg1);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "DEGREES")]
public static int? Degrees (int? arg1);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "DEGREES")>]
static member Degrees : Nullable<int> -> Nullable<int>
Public Shared Function Degrees (arg1 As Nullable(Of Integer)) As Nullable(Of Integer)

Parameters

arg1
Nullable<Int32>

An angle, measured in radians.

Returns

The specified angle converted to degrees.

Attributes

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 DEGREES (Transact-SQL).

Applies to

Degrees(Nullable<Double>)

Returns the corresponding angle in degrees for an angle specified in radians.

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

Parameters

arg1
Nullable<Double>

An angle, measured in radians.

Returns

The specified angle converted to degrees.

Attributes

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 DEGREES (Transact-SQL).

Applies to

Degrees(Nullable<Decimal>)

Returns the corresponding angle in degrees for an angle specified in radians.

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

Parameters

arg1
Nullable<Decimal>

An angle, measured in radians.

Returns

The specified angle converted to degrees.

Attributes

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 DEGREES (Transact-SQL).

Applies to