共用方式為


SqlFunctions.Degrees 方法

定義

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

多載

Degrees(Nullable<Int64>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

Degrees(Nullable<Int32>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

Degrees(Nullable<Double>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

Degrees(Nullable<Decimal>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。 如需對應 SQL Server 函數的相關信息,請參閱 DEGREES (Transact-SQL)

Degrees(Nullable<Int64>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

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)

參數

arg1
Nullable<Int64>

以弧度為單位的角度。

傳回

轉換為度數的指定角度。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。 如需對應 SQL Server 函數的相關信息,請參閱 DEGREES (Transact-SQL)

適用於

Degrees(Nullable<Int32>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

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)

參數

arg1
Nullable<Int32>

以弧度為單位的角度。

傳回

轉換為度數的指定角度。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。 如需對應 SQL Server 函數的相關信息,請參閱 DEGREES (Transact-SQL)

適用於

Degrees(Nullable<Double>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

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)

參數

arg1
Nullable<Double>

以弧度為單位的角度。

傳回

轉換為度數的指定角度。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。 如需對應 SQL Server 函數的相關信息,請參閱 DEGREES (Transact-SQL)

適用於

Degrees(Nullable<Decimal>)

針對以弧度指定的角度,傳回對應的角度 (以度為單位)。

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)

參數

arg1
Nullable<Decimal>

以弧度為單位的角度。

傳回

轉換為度數的指定角度。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。 如需對應 SQL Server 函數的相關信息,請參閱 DEGREES (Transact-SQL)

適用於