SqlCeFunctions.Sign Method
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
Assembly: EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)
Name | Description | |
---|---|---|
![]() ![]() | Sign(Nullable<Decimal>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
![]() ![]() | Sign(Nullable<Double>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
![]() ![]() | Sign(Nullable<Int32>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
![]() ![]() | Sign(Nullable<Int64>) | Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. |
SqlCeFunctions.Sign Method (Nullable<Decimal>)
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "SIGN")] public static Nullable<decimal> Sign( Nullable<decimal> arg )
Parameters
- arg
-
Type:
System.Nullable<Decimal>
A numeric expression.
SqlCeFunctions.Sign Method (Nullable<Double>)
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "SIGN")] public static Nullable<double> Sign( Nullable<double> arg )
Parameters
- arg
-
Type:
System.Nullable<Double>
A numeric expression.
SqlCeFunctions.Sign Method (Nullable<Int32>)
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
[DbFunctionAttribute("SqlServerCe", "SIGN")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] public static Nullable<int> Sign( Nullable<int> arg )
Parameters
- arg
-
Type:
System.Nullable<Int32>
A numeric expression.
SqlCeFunctions.Sign Method (Nullable<Int64>)
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
[DbFunctionAttribute("SqlServerCe", "SIGN")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] public static Nullable<long> Sign( Nullable<long> arg )
Parameters
- arg
-
Type:
System.Nullable<Int64>
A numeric expression.