SqlFunctions.Sin Method

Definition

Returns the trigonometric sine of the specified angle.

Overloads

Sin(Nullable<Decimal>)

Returns the trigonometric sine of the specified angle.

Sin(Nullable<Double>)

Returns the trigonometric sine of the specified angle.

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

Sin(Nullable<Decimal>)

Returns the trigonometric sine of the specified angle.

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

Parameters

arg
Nullable<Decimal>

An angle, measured in radians.

Returns

The trigonometric sine of the input expression.

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

Applies to

Sin(Nullable<Double>)

Returns the trigonometric sine of the specified angle.

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

Parameters

arg
Nullable<Double>

An angle, measured in radians.

Returns

The trigonometric sine of the input expression.

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

Applies to