SqlFunctions.Cos Method

 

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCos(Nullable<Decimal>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticCos(Nullable<Double>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.


SqlFunctions.Cos Method (Nullable<Decimal>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
[DbFunctionAttribute("SqlServer", "COS")]
public static Nullable<double> Cos(
	Nullable<decimal> arg
)

Parameters

arg
Type: System.Nullable<Decimal>

An angle, measured in radians.

Return Value

Type: System.Nullable<Double>

The trigonometric cosine of the specified angle.


SqlFunctions.Cos Method (Nullable<Double>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

[DbFunctionAttribute("SqlServer", "COS")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
public static Nullable<double> Cos(
	Nullable<double> arg
)

Parameters

arg
Type: System.Nullable<Double>

An angle, measured in radians.

Return Value

Type: System.Nullable<Double>

The trigonometric cosine of the specified angle.